MeshGeometry.h¶
Note
The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.
-
class
MeshGeometry¶ -
MeshGeometry()¶ Create empty set of coordinates
-
MeshGeometry(const MeshGeometry &geometry)¶ Copy constructor
-
const MeshGeometry &
operator=(const MeshGeometry &geometry)¶ Assignment
-
std::size_t
dim() const¶ Return Euclidean dimension of coordinate system
-
std::size_t
size() const¶ Return number of coordinates
-
double &
x(std::size_t n, std::size_t i)¶ Return value of coordinate with local index n in direction i
-
double
x(std::size_t n, std::size_t i) const¶ Return value of coordinate with local index n in direction i
-
double *
x(std::size_t n)¶ Return array of values for coordinate with local index n
-
const double *
x(std::size_t n) const¶ Return array of values for coordinate with local index n
-
std::vector<double> &
x()¶ Return array of values for all coordinates
-
const std::vector<double> &
x() const¶ Return array of values for all coordinates
-
void
clear()¶ Clear all data
-
void
init(std::size_t dim, std::size_t size)¶ Initialize coordinate list to given dimension and size
-
std::size_t
hash() const¶ Hash of coordinate values
- Returns
- std::size_t
- A tree-hashed value of the coordinates over all MPI processes
-
std::string
str(bool verbose) const¶ Return informal string representation (pretty-print)
-