9#include <kernel/trafo/mapping_base.hpp> 
   10#include <kernel/trafo/standard/evaluator.hpp> 
   11#include <kernel/geometry/mesh_part.hpp> 
   12#include <kernel/geometry/atlas/chart.hpp> 
   36      template<
typename Mesh_>
 
   46        typedef typename MeshType::VertexSetType::CoordType 
CoordType;
 
   57          typename CoordType_ = 
Real>
 
   95        template<
typename ShapeType_ = ShapeType, 
typename CoordType_ = CoordType>
 
  101          CoordType_ vol = evaluator.
volume();
 
  117          Index num_cells = this->
get_mesh().get_num_entities(ShapeType::dimension);
 
  118          for(
Index cell(0); cell < num_cells; ++cell)
 
  121            vol += evaluator.
volume();
 
Class template for partial meshes.
void finish()
Finishes the evaluator for the currently active cell.
Trafo-Mapping base class.
MeshType & get_mesh()
Returns a reference to the underlying mesh.
Standard trafo evaluator class template.
void prepare(Index cell_index)
Prepares the evaluator for a given cell.
DataType volume() const
Computes and returns the volume of the current cell.
Trafo evaluator class template.
Trafo::StandardEvalPolicy< Shape_, CoordType_, MeshType::world_dim > EvalPolicy
evaluation policy
Trafo::Standard::Evaluator< Mapping, EvalPolicy > Type
evaluator type
Standard transformation mapping class template.
CoordType_ compute_vol(const Index cell) const
Computes the volume of one cell.
MappingBase< Mesh_ > BaseClass
base-class typedef
Shape::FaceTraits< ShapeType, ShapeType::dimension-1 >::ShapeType FacetType
MeshType::VertexSetType::CoordType CoordType
data type
MeshType::ShapeType ShapeType
shape type
CoordType compute_vol()
Computes the volume of the whole mesh given by this trafo.
void add_meshpart_chart(const Geometry::MeshPart< MeshType > &mesh_part, const Geometry::Atlas::ChartBase< MeshType > &chart)
Adds a mesh-part and its associated chart to the trafo.
Mapping(MeshType &mesh)
Constructor.
double Real
Real data type.
std::uint64_t Index
Index data type.
Face traits tag struct template.
Standard evaluation policy class template.