dune-grid-glue
2.3.0
|
#include <dune/grid-glue/extractors/codim0extractor.hh>
Public Types | |
typedef Extractor< GV, 0 >::ctype | ctype |
typedef Extractor< GV, 0 > ::IndexType | IndexType |
typedef GV::Traits::template Codim< dim >::EntityPointer | VertexPtr |
typedef GV::Traits::template Codim< 0 >::EntityPointer | ElementPtr |
typedef GV::Traits::template Codim< 0 >::template Partition < PType >::Iterator | ElementIter |
typedef Extractor< GV, 0 > ::SubEntityInfo | SubEntityInfo |
typedef Extractor< GV, 0 > ::ElementInfo | ElementInfo |
typedef Extractor< GV, 0 > ::VertexInfo | VertexInfo |
typedef Extractor< GV, 0 > ::CoordinateInfo | CoordinateInfo |
typedef Extractor< GV, 0 > ::VertexInfoMap | VertexInfoMap |
enum | |
enum | |
enum | |
enum | |
typedef GV | GridView |
typedef Dune::FieldVector < ctype, dimworld > | Coords |
typedef Dune::FieldVector < ctype, dim > | LocalCoords |
typedef GV::Traits::template Codim< dim >::Entity | Vertex |
typedef GV::Traits::template Codim< 0 >::Entity | Element |
typedef std::vector< unsigned int > | VertexVector |
typedef Dune::MultipleCodimMultipleGeomTypeMapper < GridView, MCMGElementLayout > | CellMapper |
typedef Dune::GenericGeometry::BasicGeometry < dim-codim, Dune::GenericGeometry::DefaultGeometryTraits < ctype, dim-codim, dimworld > > | Geometry |
typedef Dune::GenericGeometry::BasicGeometry < dim-codim, Dune::GenericGeometry::DefaultGeometryTraits < ctype, dim-codim, dim > > | LocalGeometry |
Public Member Functions | |
Codim0Extractor (const GV &gv, const ExtractorPredicate< GV, 0 > &descr) | |
Constructor. More... | |
bool & | positiveNormalDirection () |
const bool & | positiveNormalDirection () const |
void | clear () |
delete everything build up so far and free the memory More... | |
void | getCoords (std::vector< Dune::FieldVector< ctype, dimworld > > &coords) const |
getter for the coordinates array More... | |
unsigned int | nCoords () const |
getter for the count of coordinates More... | |
void | getGeometryTypes (std::vector< Dune::GeometryType > &geometryTypes) const |
Get the list of geometry types. More... | |
void | getFaces (std::vector< VertexVector > &faces) const |
Get the corners of the extracted subentities. More... | |
bool | faceIndices (const Element &e, int &first, int &count) const |
gets index of first subentity as well as the total number of subentities that were extracted from this element More... | |
int | indexInInside (unsigned int index) const |
gets the number face in the parent element More... | |
const GridView & | gridView () const |
tests that a given entry in the extraction set does have local couplings More... | |
const ElementPtr & | element (unsigned int index) const |
gets the parent element for a given face index, throws an exception if index not valid More... | |
const VertexPtr & | vertex (unsigned int index) const |
gets the vertex for a given coordinate index throws an exception if index not valid More... | |
Geometry | geometry (unsigned int index) const |
Get world geometry of the extracted face. More... | |
LocalGeometry | geometryLocal (unsigned int index) const |
Get geometry of the extracted face in element coordinates. More... | |
Static Public Attributes | |
static const Dune::PartitionIteratorType | PType = Dune::Interior_Partition |
Protected Types | |
typedef std::map< IndexType, ElementInfo * > | ElementInfoMap |
Protected Attributes | |
bool | positiveNormalDirection_ |
const GridView & | gv_ |
the grid object to extract the surface from More... | |
std::vector< CoordinateInfo > | coords_ |
all information about the corner vertices of the extracted More... | |
std::vector< SubEntityInfo > | subEntities_ |
all information about the extracted subEntities More... | |
VertexInfoMap | vtxInfo_ |
a map enabling faster access to vertices and coordinates More... | |
ElementInfoMap | elmtInfo_ |
a map enabling faster access to elements and faces More... | |
CellMapper | cellMapper_ |
|
inherited |
typedef Extractor<GV,0>::CoordinateInfo Dune::GridGlue::Codim0Extractor< GV >::CoordinateInfo |
|
inherited |
typedef Extractor<GV,0>::ctype Dune::GridGlue::Codim0Extractor< GV >::ctype |
|
inherited |
typedef Extractor<GV,0>::ElementInfo Dune::GridGlue::Codim0Extractor< GV >::ElementInfo |
|
protectedinherited |
typedef GV::Traits::template Codim<0>::template Partition<PType>::Iterator Dune::GridGlue::Codim0Extractor< GV >::ElementIter |
typedef GV::Traits::template Codim<0>::EntityPointer Dune::GridGlue::Codim0Extractor< GV >::ElementPtr |
|
inherited |
|
inherited |
typedef Extractor<GV,0>::IndexType Dune::GridGlue::Codim0Extractor< GV >::IndexType |
|
inherited |
|
inherited |
typedef Extractor<GV,0>::SubEntityInfo Dune::GridGlue::Codim0Extractor< GV >::SubEntityInfo |
|
inherited |
typedef Extractor<GV,0>::VertexInfo Dune::GridGlue::Codim0Extractor< GV >::VertexInfo |
typedef Extractor<GV,0>::VertexInfoMap Dune::GridGlue::Codim0Extractor< GV >::VertexInfoMap |
typedef GV::Traits::template Codim<dim>::EntityPointer Dune::GridGlue::Codim0Extractor< GV >::VertexPtr |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inline |
Constructor.
gv | the grid view object to work with |
descr | a predicate to mark entities for extraction (unary functor returning bool) |
|
inlineinherited |
delete everything build up so far and free the memory
|
inlineinherited |
gets the parent element for a given face index, throws an exception if index not valid
index | the index of the face |
|
inlineinherited |
gets index of first subentity as well as the total number of subentities that were extracted from this element
[in] | e | the element |
[out] | first | will contain the index of the first subentity if it exists, else -1 |
[out] | count | will contain the number of subentities extracted from this element |
|
inherited |
Get world geometry of the extracted face.
Get World geometry of the extracted face.
|
inherited |
Get geometry of the extracted face in element coordinates.
Get Geometry of the extracted face in element coordinates.
|
inlineinherited |
getter for the coordinates array
coords | a vector that will be resized (!) and filled with the coordinates, note that the single components are written consecutively |
|
inlineinherited |
Get the corners of the extracted subentities.
|
inlineinherited |
Get the list of geometry types.
|
inlineinherited |
tests that a given entry in the extraction set does have local couplings
give access to the Dune::GridView where this Patch belongs to
|
inlineinherited |
gets the number face in the parent element
index | the index of the face |
|
inlineinherited |
getter for the count of coordinates
|
inline |
|
inline |
|
inlineinherited |
gets the vertex for a given coordinate index throws an exception if index not valid
index | the index of the coordinate |
|
protectedinherited |
|
protectedinherited |
all information about the corner vertices of the extracted
|
protectedinherited |
a map enabling faster access to elements and faces
Maps an element's index (from index set) to an object holding the locally associated index of its first face in _indices (if there are more they are positioned consecutively) and an entity pointer to the codim<0> entity.
|
protectedinherited |
the grid object to extract the surface from
|
protected |
|
static |
|
protectedinherited |
all information about the extracted subEntities
|
protectedinherited |
a map enabling faster access to vertices and coordinates
Maps a vertex' index (from index set) to an object holding the locally associated index of the vertex' coordinate in coords_ and an entity pointer to the codim<dim> entity.