A Mesh consists of a set of connected and numbered mesh topological entities, and geometry data.  
 More...
#include <Mesh.h>
 | 
| 
std::string  | name = "mesh" | 
|   | Name. 
  | 
|   | 
A Mesh consists of a set of connected and numbered mesh topological entities, and geometry data. 
 
◆ Mesh() [1/3]
template<typename Topology , typename Geometry > 
  
  
      
        
          | dolfinx::mesh::Mesh::Mesh  | 
          ( | 
          MPI_Comm  | 
          comm,  | 
         
        
           | 
           | 
          Topology &&  | 
          topology,  | 
         
        
           | 
           | 
          Geometry &&  | 
          geometry  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Create a mesh. 
- Parameters
 - 
  
    | [in] | comm | MPI Communicator  | 
    | [in] | topology | Mesh topology  | 
    | [in] | geometry | Mesh geometry  | 
  
   
 
 
◆ Mesh() [2/3]
  
  
      
        
          | dolfinx::mesh::Mesh::Mesh  | 
          ( | 
          const Mesh &  | 
          mesh | ) | 
           | 
         
       
   | 
  
default   | 
  
 
Copy constructor. 
- Parameters
 - 
  
    | [in] | mesh | Mesh to be copied  | 
  
   
 
 
◆ Mesh() [3/3]
  
  
      
        
          | dolfinx::mesh::Mesh::Mesh  | 
          ( | 
          Mesh &&  | 
          mesh | ) | 
           | 
         
       
   | 
  
default   | 
  
 
Move constructor. 
- Parameters
 - 
  
  
 
 
 
◆ geometry() [1/2]
Get mesh geometry. 
- Returns
 - The geometry object associated with the mesh 
 
 
 
◆ geometry() [2/2]
      
        
          | const Geometry& dolfinx::mesh::Mesh::geometry  | 
          ( | 
           | ) | 
           const | 
        
      
 
Get mesh geometry (const version) 
- Returns
 - The geometry object associated with the mesh 
 
 
 
◆ id()
  
  
      
        
          | std::size_t dolfinx::mesh::Mesh::id  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get unique identifier for the mesh. 
- Returns
 - The unique identifier associated with the object 
 
 
 
◆ mpi_comm()
      
        
          | MPI_Comm Mesh::mpi_comm  | 
          ( | 
           | ) | 
           const | 
        
      
 
Mesh MPI communicator. 
- Returns
 - The communicator on which the mesh is distributed 
 
 
 
◆ operator=()
  
  
      
        
          | Mesh& dolfinx::mesh::Mesh::operator=  | 
          ( | 
          Mesh &&  | 
          mesh | ) | 
           | 
         
       
   | 
  
default   | 
  
 
Assignment move operator. 
- Parameters
 - 
  
  
 
 
 
◆ topology() [1/2]
Get mesh topology. 
- Returns
 - The topology object associated with the mesh. 
 
 
 
◆ topology() [2/2]
      
        
          | const Topology& dolfinx::mesh::Mesh::topology  | 
          ( | 
           | ) | 
           const | 
        
      
 
Get mesh topology (const version) 
- Returns
 - The topology object associated with the mesh. 
 
 
 
◆ topology_mutable()
      
        
          | Topology & Mesh::topology_mutable  | 
          ( | 
           | ) | 
           const | 
        
      
 
Get mesh topology if one really needs the mutable version. 
- Returns
 - The topology object associated with the mesh. 
 
 
 
The documentation for this class was generated from the following files:
- /__w/dolfinx/dolfinx/cpp/dolfinx/mesh/Mesh.h
 
- /__w/dolfinx/dolfinx/cpp/dolfinx/mesh/Mesh.cpp