MeshGeometry¶
-
class
dolfin.cpp.mesh.MeshGeometry(*args)¶ Bases:
objectOverloaded versions
MeshGeometry()
Create empty set of coordinates
MeshGeometry(geometry)
Copy constructor
-
clear()¶ Clear all data
-
dim()¶ Return Euclidean dimension of coordinate system
-
hash()¶ Hash of coordinate values
- Returns
- int
- A tree-hashed value of the coordinates over all MPI processes
-
init()¶ Initialize coordinate list to given dimension and size
-
point()¶ Return coordinate with local index n as a 3D point value
-
set()¶
-
size()¶ Return number of coordinates
-
str()¶ Return informal string representation (pretty-print)
-
thisown¶ The membership flag
-
x()¶ Overloaded versions
x(n, i)
Return value of coordinate with local index n in direction i
x(n, i)
Return value of coordinate with local index n in direction i
x(n)
Return array of values for coordinate with local index n
x(n)
Return array of values for coordinate with local index n
x()
Return array of values for all coordinates
x()
Return array of values for all coordinates