DOLFINx
0.5.1
DOLFINx C++ interface
|
A Mesh consists of a set of connected and numbered mesh topological entities, and geometry data. More...
#include <Mesh.h>
Public Member Functions | |
template<typename Topology , typename Geometry > | |
Mesh (MPI_Comm comm, Topology &&topology, Geometry &&geometry) | |
Create a mesh. More... | |
Mesh (const Mesh &mesh)=default | |
Copy constructor. More... | |
Mesh (Mesh &&mesh)=default | |
Move constructor. More... | |
~Mesh ()=default | |
Destructor. | |
Mesh & | operator= (const Mesh &mesh)=delete |
Mesh & | operator= (Mesh &&mesh)=default |
Assignment move operator. More... | |
Topology & | topology () |
Get mesh topology. More... | |
const Topology & | topology () const |
Get mesh topology (const version) More... | |
Topology & | topology_mutable () const |
Get mesh topology if one really needs the mutable version. More... | |
Geometry & | geometry () |
Get mesh geometry. More... | |
const Geometry & | geometry () const |
Get mesh geometry (const version) More... | |
MPI_Comm | comm () const |
Mesh MPI communicator. More... | |
Public Attributes | |
std::string | name = "mesh" |
Name. | |
A Mesh consists of a set of connected and numbered mesh topological entities, and geometry data.
MPI_Comm comm | ( | ) | const |
Geometry & geometry | ( | ) |
Get mesh geometry.
const Geometry & geometry | ( | ) | const |
Get mesh geometry (const version)
Assignment move operator.
mesh | Another Mesh object |
Topology & topology | ( | ) |
Get mesh topology.
const Topology & topology | ( | ) | const |
Get mesh topology (const version)
Topology & topology_mutable | ( | ) | const |
Get mesh topology if one really needs the mutable version.