dune-foamgrid  2.8-git
Public Types | Public Member Functions | Protected Attributes | List of all members
Dune::GridFactory< FoamGrid< dimgrid, dimworld, ct > > Class Template Reference

#include <dune/foamgrid/foamgrid/foamgridfactory.hh>

Inheritance diagram for Dune::GridFactory< FoamGrid< dimgrid, dimworld, ct > >:
Inheritance graph

Public Types

using GridPtrType = std::unique_ptr< FoamGrid< dimgrid, dimworld, ctype > >
 

Public Member Functions

void insertVertex (const FieldVector< ctype, dimworld > &pos) override
 Insert a vertex into the coarse grid. More...
 
unsigned int insertionIndex (const typename FoamGrid< dimgrid, dimworld, ctype >::Traits::template Codim< 0 >::Entity &entity) const override
 Obtain an element's insertion index. More...
 
unsigned int insertionIndex (const typename FoamGrid< dimgrid, dimworld, ctype >::Traits::template Codim< dimgrid >::Entity &vertex) const override
 Obtain a vertex' insertion index. More...
 
unsigned int insertionIndex (const typename FoamGrid< dimgrid, dimworld, ctype >::LeafIntersection &intersection) const override
 Obtain a boundary's insertion index. More...
 

Protected Attributes

FoamGrid< dimgrid, dimworld, ctype > * grid_
 
bool factoryOwnsGrid_
 
std::vector< FoamGridEntityImp< 0, dimgrid, dimworld, ctype > * > vertexArray_
 Array containing all vertices. More...
 
unsigned int boundarySegmentCounter_ = 0
 Counter that creates the boundary segment indices. More...
 

Member Typedef Documentation

◆ GridPtrType

template<int dimgrid, int dimworld, class ct >
using Dune::GridFactoryBase< dimgrid, dimworld, ct >::GridPtrType = std::unique_ptr<FoamGrid<dimgrid, dimworld,ctype> >
inherited

Member Function Documentation

◆ insertionIndex() [1/3]

template<int dimgrid, int dimworld, class ct >
unsigned int Dune::GridFactoryBase< dimgrid, dimworld, ct >::insertionIndex ( const typename FoamGrid< dimgrid, dimworld, ctype >::LeafIntersection &  intersection) const
inlineoverrideinherited

Obtain a boundary's insertion index.

◆ insertionIndex() [2/3]

template<int dimgrid, int dimworld, class ct >
unsigned int Dune::GridFactoryBase< dimgrid, dimworld, ct >::insertionIndex ( const typename FoamGrid< dimgrid, dimworld, ctype >::Traits::template Codim< 0 >::Entity &  entity) const
inlineoverrideinherited

Obtain an element's insertion index.

◆ insertionIndex() [3/3]

template<int dimgrid, int dimworld, class ct >
unsigned int Dune::GridFactoryBase< dimgrid, dimworld, ct >::insertionIndex ( const typename FoamGrid< dimgrid, dimworld, ctype >::Traits::template Codim< dimgrid >::Entity &  vertex) const
inlineoverrideinherited

Obtain a vertex' insertion index.

◆ insertVertex()

template<int dimgrid, int dimworld, class ct >
void Dune::GridFactoryBase< dimgrid, dimworld, ct >::insertVertex ( const FieldVector< ctype, dimworld > &  pos)
inlineoverrideinherited

Insert a vertex into the coarse grid.

Member Data Documentation

◆ boundarySegmentCounter_

template<int dimgrid, int dimworld, class ct >
unsigned int Dune::GridFactoryBase< dimgrid, dimworld, ct >::boundarySegmentCounter_ = 0
protectedinherited

Counter that creates the boundary segment indices.

◆ factoryOwnsGrid_

template<int dimgrid, int dimworld, class ct >
bool Dune::GridFactoryBase< dimgrid, dimworld, ct >::factoryOwnsGrid_
protectedinherited

◆ grid_

template<int dimgrid, int dimworld, class ct >
FoamGrid<dimgrid, dimworld, ctype>* Dune::GridFactoryBase< dimgrid, dimworld, ct >::grid_
protectedinherited

◆ vertexArray_

template<int dimgrid, int dimworld, class ct >
std::vector<FoamGridEntityImp<0, dimgrid, dimworld, ctype>*> Dune::GridFactoryBase< dimgrid, dimworld, ct >::vertexArray_
protectedinherited

Array containing all vertices.


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