Interface Documentation
Version: invalid
Public Types | Public Member Functions | Static Public Member Functions | List of all members
flecsi::topo::unstructured_impl::definition< DIMENSION, REAL_TYPE > Class Template Referenceabstract

#include <definition.hh>

Inheritance diagram for flecsi::topo::unstructured_impl::definition< DIMENSION, REAL_TYPE >:
Inheritance graph
[legend]

Public Types

using point_t = util::point< double, DIMENSION >
 
using connectivity_t = std::vector< std::vector< size_t > >
 

Public Member Functions

 definition (const definition &)=delete
 
definitionoperator= (const definition &)=delete
 
virtual size_t num_entities (size_t dimension) const =0
 
virtual std::vector< size_t > entities (size_t from_dimension, size_t to_dimension, size_t id) const =0
 
virtual const connectivity_t & entities (size_t from_dimension, size_t to_dimension) const =0
 
virtual std::set< size_t > entities_set (size_t from_dimension, size_t to_dimension, size_t id) const
 

Static Public Member Functions

static constexpr size_t dimension ()
 

Detailed Description

template<size_t DIMENSION, typename REAL_TYPE = double>
class flecsi::topo::unstructured_impl::definition< DIMENSION, REAL_TYPE >

The definition type...

Member Function Documentation

◆ dimension()

template<size_t DIMENSION, typename REAL_TYPE = double>
static constexpr size_t flecsi::topo::unstructured_impl::definition< DIMENSION, REAL_TYPE >::dimension ( )
inlinestatic

Return the dimension of the mesh.

◆ entities() [1/2]

template<size_t DIMENSION, typename REAL_TYPE = double>
virtual std::vector<size_t> flecsi::topo::unstructured_impl::definition< DIMENSION, REAL_TYPE >::entities ( size_t  from_dimension,
size_t  to_dimension,
size_t  id 
) const
pure virtual

Abstract interface to get the entities of dimension to that define the entity of dimension from with the given identifier id.

Parameters
from_dimensionThe dimension of the entity for which the definition is being requested.
to_dimensionThe dimension of the entities of the definition.
idThe id of the entity for which the definition is being requested.

Implemented in flecsi::topo::unstructured_impl::simple_definition, and flecsi::topo::unstructured_impl::parallel_definition< DIMENSION, REAL_TYPE >.

◆ entities() [2/2]

template<size_t DIMENSION, typename REAL_TYPE = double>
virtual const connectivity_t& flecsi::topo::unstructured_impl::definition< DIMENSION, REAL_TYPE >::entities ( size_t  from_dimension,
size_t  to_dimension 
) const
pure virtual

Abstract interface to get the entities of dimension to that define the entity of dimension from.

Parameters
from_dimensionThe dimension of the entity for which the definition is being requested.
to_dimensionThe dimension of the entities of the definition.

Implemented in flecsi::topo::unstructured_impl::simple_definition.

◆ entities_set()

template<size_t DIMENSION, typename REAL_TYPE = double>
virtual std::set<size_t> flecsi::topo::unstructured_impl::definition< DIMENSION, REAL_TYPE >::entities_set ( size_t  from_dimension,
size_t  to_dimension,
size_t  id 
) const
inlinevirtual

Abstract interface to get the entities of dimension to that define the entity of dimension from with the given identifier id.

Parameters
from_dimensionThe dimension of the entity for which the definition is being requested.
to_dimensionThe dimension of the entities of the definition.
idThe id of the entity for which the definition is being requested.

◆ num_entities()

template<size_t DIMENSION, typename REAL_TYPE = double>
virtual size_t flecsi::topo::unstructured_impl::definition< DIMENSION, REAL_TYPE >::num_entities ( size_t  dimension) const
pure virtual

Abstract interface to get the number of entities.

Parameters
dimensionThe topological dimension of the request.

Implemented in flecsi::topo::unstructured_impl::simple_definition.


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