Lagrange
GenuineMeshGeometry< _VertexArray, _FacetArray > Class Template Reference

Inherits MeshGeometry< _VertexArray, _FacetArray >.

Public Types

using Parent = MeshGeometry< _VertexArray, _FacetArray >
 
using VertexArray = typename Parent::VertexArray
 
using FacetArray = typename Parent::FacetArray
 
using VertexType = typename Parent::VertexType
 
using Scalar = typename Parent::Scalar
 
using Index = typename Parent::Index
 
- Public Types inherited from MeshGeometry< _VertexArray, _FacetArray >
using VertexArray = _VertexArray
 
using FacetArray = _FacetArray
 
using VertexType = Eigen::Matrix< typename VertexArray::Scalar, 1, VertexArray::ColsAtCompileTime >
 
using Scalar = typename VertexArray::Scalar
 
using Index = typename FacetArray::Scalar
 

Public Member Functions

 GenuineMeshGeometry (const VertexArray &vertices, const FacetArray &facets)
 
virtual Index get_dim () const override
 
virtual Index get_num_vertices () const override
 
virtual Index get_num_facets () const override
 
virtual Index get_vertex_per_facet () const override
 
virtual const VertexArray & get_vertices () const override
 
virtual const FacetArray & get_facets () const override
 
virtual VertexArray & get_vertices_ref () override
 
virtual FacetArray & get_facets_ref () override
 
VertexArray & get_vertices ()
 
FacetArray & get_facets ()
 
- Public Member Functions inherited from MeshGeometry< _VertexArray, _FacetArray >
 MeshGeometry (const VertexArray &, const FacetArray &)
 
virtual Index get_dim () const =0
 
virtual Index get_num_vertices () const =0
 
virtual Index get_num_facets () const =0
 
virtual Index get_vertex_per_facet () const =0
 
virtual const VertexArray & get_vertices () const =0
 
virtual const FacetArray & get_facets () const =0
 
virtual VertexArray & get_vertices_ref ()=0
 
virtual FacetArray & get_facets_ref ()=0
 
template<typename Derived >
void import_vertices (Eigen::MatrixBase< Derived > &vertices)
 
template<typename Derived >
void import_facets (Eigen::MatrixBase< Derived > &facets)
 
template<typename Derived >
void export_vertices (Eigen::MatrixBase< Derived > &vertices)
 
template<typename Derived >
void export_facets (Eigen::MatrixBase< Derived > &facets)
 
template<typename Archive >
void serialize_impl (Archive &ar)
 

Member Function Documentation

◆ get_dim()

virtual Index get_dim ( ) const
inlineoverridevirtual

◆ get_num_vertices()

virtual Index get_num_vertices ( ) const
inlineoverridevirtual

◆ get_num_facets()

virtual Index get_num_facets ( ) const
inlineoverridevirtual

◆ get_vertex_per_facet()

virtual Index get_vertex_per_facet ( ) const
inlineoverridevirtual

◆ get_vertices()

virtual const VertexArray & get_vertices ( ) const
inlineoverridevirtual

◆ get_facets()

virtual const FacetArray & get_facets ( ) const
inlineoverridevirtual

◆ get_vertices_ref()

virtual VertexArray & get_vertices_ref ( )
inlineoverridevirtual

◆ get_facets_ref()

virtual FacetArray & get_facets_ref ( )
inlineoverridevirtual

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