Mesh Oriented datABase
(version 5.4.1)
Array-based unstructured mesh datastructure
|
#include <EntityRefiner.hpp>
Public Member Functions | |
virtual | ~EntityRefinerOutputFunctor () |
virtual EntityHandle | map_vertex (EntityHandle vhash, const double *vcoords, const void *vtags)=0 |
Map an input vertex to the output mesh. This should return the same value when given the same input across multiple calls. | |
EntityHandle | operator() (EntityHandle h0, EntityHandle h1, const double *vcoords, const void *vtags) |
Create a new vertex along an edge. | |
virtual EntityHandle | operator() (EntityHandle h0, EntityHandle h1, EntityHandle h2, const double *vcoords, const void *vtags) |
Create a new vertex on a triangular face. | |
virtual EntityHandle | operator() (int nhash, EntityHandle *hash, const double *vcoords, const void *vtags)=0 |
Create a new vertex along a \(k\)-facet. | |
virtual void | operator() (EntityHandle vhash)=0 |
Append an output vertex to the list of vertices defining a new entity. | |
virtual void | operator() (EntityType etyp)=0 |
Create a new entity from all previously appended output vertices. |
Definition at line 79 of file EntityRefiner.hpp.
virtual moab::EntityRefinerOutputFunctor::~EntityRefinerOutputFunctor | ( | ) | [inline, virtual] |
Definition at line 82 of file EntityRefiner.hpp.
{}
virtual EntityHandle moab::EntityRefinerOutputFunctor::map_vertex | ( | EntityHandle | vhash, |
const double * | vcoords, | ||
const void * | vtags | ||
) | [pure virtual] |
Map an input vertex to the output mesh. This should return the same value when given the same input across multiple calls.
Implemented in moab::MeshOutputFunctor.
Referenced by moab::SimplexTemplateRefiner::refine_entity().
EntityHandle moab::EntityRefinerOutputFunctor::operator() | ( | EntityHandle | h0, |
EntityHandle | h1, | ||
const double * | vcoords, | ||
const void * | vtags | ||
) | [inline] |
Create a new vertex along an edge.
[in] | h0 | An edge endpoint handle on the output mesh. |
[in] | h1 | An edge endpoint handle on the output mesh. |
[in] | vcoords | The location of the midpoint in world coordinates. |
[in] | vtags | Field values at the midpoint. |
A | handle for the midpoint on the output mesh. |
Definition at line 94 of file EntityRefiner.hpp.
{ EntityHandle harr[2]; // Cppcheck warning (false positive): variable harr is assigned a value that is never used harr[0] = h0; harr[1] = h1; return ( *this )( 2, harr, vcoords, vtags ); }
virtual EntityHandle moab::EntityRefinerOutputFunctor::operator() | ( | EntityHandle | h0, |
EntityHandle | h1, | ||
EntityHandle | h2, | ||
const double * | vcoords, | ||
const void * | vtags | ||
) | [inline, virtual] |
Create a new vertex on a triangular face.
[in] | h0 | A triangle corner handle on the output mesh. |
[in] | h1 | A triangle corner handle on the output mesh. |
[in] | h2 | A triangle corner handle on the output mesh. |
[in] | vcoords | The location of the mid-face point in world coordinates. |
[in] | vtags | Field values at the mid-face point. |
A | handle for the mid-face point on the output mesh. |
Definition at line 111 of file EntityRefiner.hpp.
{ EntityHandle harr[3]; // Cppcheck warning (false positive): variable harr is assigned a value that is never used harr[0] = h0; harr[1] = h1; harr[2] = h2; return ( *this )( 3, harr, vcoords, vtags ); }
virtual EntityHandle moab::EntityRefinerOutputFunctor::operator() | ( | int | nhash, |
EntityHandle * | hash, | ||
const double * | vcoords, | ||
const void * | vtags | ||
) | [pure virtual] |
Create a new vertex along a \(k\)-facet.
[in] | nhash | The number of corner vertices (i.e, \(k\) ). |
[in] | hash | An array of corner handles on the output mesh. |
[in] | vcoords | The location of the new point in world coordinates. |
[in] | vtags | Field values at the new point. |
A | handle for the new point on the output mesh. |
Implemented in moab::MeshOutputFunctor.
virtual void moab::EntityRefinerOutputFunctor::operator() | ( | EntityHandle | vhash | ) | [pure virtual] |
Append an output vertex to the list of vertices defining a new entity.
[in] | vhash | A vertex of the output mesh. |
Implemented in moab::MeshOutputFunctor.
virtual void moab::EntityRefinerOutputFunctor::operator() | ( | EntityType | etyp | ) | [pure virtual] |
Create a new entity from all previously appended output vertices.
This resets the list of appended vertices.
[in] | etyp | The type of entity to create. |
Implemented in moab::MeshOutputFunctor.