DOLFIN-X
DOLFIN-X C++ interface
|
Geometry stores the geometry imposed on a mesh. More...
#include <Geometry.h>
Public Member Functions | |
template<typename AdjacencyList32 , typename Vector64 > | |
Geometry (const std::shared_ptr< const common::IndexMap > &index_map, AdjacencyList32 &&dofmap, const fem::CoordinateElement &element, const Eigen::Ref< const Eigen::Array< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor >> &x, Vector64 &&input_global_indices) | |
Constructor. | |
Geometry (const Geometry &)=default | |
Copy constructor. | |
Geometry (Geometry &&)=default | |
Move constructor. | |
~Geometry ()=default | |
Destructor. | |
Geometry & | operator= (const Geometry &)=delete |
Copy Assignment. | |
Geometry & | operator= (Geometry &&)=default |
Move Assignment. | |
int | dim () const |
Return Euclidean dimension of coordinate system. | |
const graph::AdjacencyList< std::int32_t > & | dofmap () const |
DOF map. | |
std::shared_ptr< const common::IndexMap > | index_map () const |
Index map. | |
Eigen::Array< double, Eigen::Dynamic, 3, Eigen::RowMajor > & | x () |
Geometry degrees-of-freedom. | |
const Eigen::Array< double, Eigen::Dynamic, 3, Eigen::RowMajor > & | x () const |
Geometry degrees-of-freedom. | |
const fem::CoordinateElement & | cmap () const |
The element that describes the geometry map. More... | |
Eigen::Vector3d | node (int n) const |
Return coordinate array for node n (index is local to the process) | |
const std::vector< std::int64_t > & | input_global_indices () const |
Global user indices. | |
std::size_t | hash () const |
Hash of coordinate values. More... | |
Geometry stores the geometry imposed on a mesh.
Currently, the geometry is represented by the set of coordinates for the vertices of a mesh, but other representations are possible.
const fem::CoordinateElement & Geometry::cmap | ( | ) | const |
The element that describes the geometry map.
std::size_t Geometry::hash | ( | ) | const |
Hash of coordinate values.