Note: this is documentation for an old release. View the latest documentation at docs.fenicsproject.org/v0.1.0/v0.9.0/cpp
DOLFINx  0.1.0
DOLFINx C++ interface
Public Member Functions | List of all members
dolfinx::mesh::Geometry Class Reference

Geometry stores the geometry imposed on a mesh. More...

#include <Geometry.h>

Public Member Functions

template<typename AdjacencyList32 , typename Array , typename Vector64 >
 Geometry (const std::shared_ptr< const common::IndexMap > &index_map, AdjacencyList32 &&dofmap, const fem::CoordinateElement &element, Array &&x, Vector64 &&input_global_indices)
 Constructor.
 
 Geometry (const Geometry &)=default
 Copy constructor.
 
 Geometry (Geometry &&)=default
 Move constructor.
 
 ~Geometry ()=default
 Destructor.
 
Geometryoperator= (const Geometry &)=delete
 Copy Assignment.
 
Geometryoperator= (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::IndexMapindex_map () const
 Index map.
 
xt::xtensor< double, 2 > & x ()
 Geometry degrees-of-freedom.
 
const xt::xtensor< double, 2 > & x () const
 Geometry degrees-of-freedom.
 
const fem::CoordinateElementcmap () const
 The element that describes the geometry map. More...
 
const std::vector< std::int64_t > & input_global_indices () const
 Global user indices.
 

Detailed Description

Geometry stores the geometry imposed on a mesh.

Member Function Documentation

◆ cmap()

const fem::CoordinateElement & Geometry::cmap ( ) const

The element that describes the geometry map.

Returns
The coordinate/geometry element

The documentation for this class was generated from the following files: