|
| | FoamGrid () |
| | Constructor, constructs an empty grid. More...
|
| |
| | ~FoamGrid () |
| | Destructor. More...
|
| |
| int | maxLevel () const |
| |
| template<int codim> |
| Traits::template Codim< codim >::LevelIterator | lbegin (int level) const |
| | Iterator to first entity of given codim on level. More...
|
| |
| template<int codim> |
| Traits::template Codim< codim >::LevelIterator | lend (int level) const |
| | one past the end on this level More...
|
| |
| template<int codim, PartitionIteratorType PiType> |
| Traits::template Codim< codim >::template Partition< PiType >::LevelIterator | lbegin (int level) const |
| | Iterator to first entity of given codim on level. More...
|
| |
| template<int codim, PartitionIteratorType PiType> |
| Traits::template Codim< codim >::template Partition< PiType >::LevelIterator | lend (int level) const |
| | one past the end on this level More...
|
| |
| template<int codim> |
| Traits::template Codim< codim >::LeafIterator | leafbegin () const |
| | Iterator to first leaf entity of given codim. More...
|
| |
| template<int codim> |
| Traits::template Codim< codim >::LeafIterator | leafend () const |
| | one past the end of the sequence of leaf entities More...
|
| |
| template<int codim, PartitionIteratorType PiType> |
| Traits::template Codim< codim >::template Partition< PiType >::LeafIterator | leafbegin () const |
| | Iterator to first leaf entity of given codim. More...
|
| |
| template<int codim, PartitionIteratorType PiType> |
| Traits::template Codim< codim >::template Partition< PiType >::LeafIterator | leafend () const |
| | one past the end of the sequence of leaf entities More...
|
| |
| int | size (int level, int codim) const |
| | Number of grid entities per level and codim. More...
|
| |
| int | size (int codim) const |
| | number of leaf entities per codim in this process More...
|
| |
| int | size (int level, GeometryType type) const |
| | number of entities per level, codim and geometry type in this process More...
|
| |
| int | size (GeometryType type) const |
| | number of leaf entities per codim and geometry type in this process More...
|
| |
| size_t | numBoundarySegments () const |
| | The number of boundary edges on the coarsest level. More...
|
| |
| const Traits::GlobalIdSet & | globalIdSet () const |
| | Access to the GlobalIdSet. More...
|
| |
| const Traits::LocalIdSet & | localIdSet () const |
| | Access to the LocalIdSet. More...
|
| |
| const Traits::LevelIndexSet & | levelIndexSet (int level) const |
| | Access to the LevelIndexSets. More...
|
| |
| const Traits::LeafIndexSet & | leafIndexSet () const |
| | Access to the LeafIndexSet. More...
|
| |
| template<class EntitySeed > |
| Traits::template Codim< EntitySeed::codimension >::Entity | entity (const EntitySeed &seed) const |
| | Create an Entity from an EntitySeed. More...
|
| |
|
| void | globalRefine (int refCount=1) |
| | Refine the grid uniformly. More...
|
| |
| bool | mark (int refCount, const typename Traits::template Codim< 0 >::Entity &e) |
| | Mark entity for refinement. More...
|
| |
| int | getMark (const typename Traits::template Codim< 0 >::Entity &e) const |
| | Return refinement mark for entity. More...
|
| |
| bool | preAdapt () |
| | Book-keeping routine to be called before adaptation. More...
|
| |
| bool | adapt () |
| | Triggers the grid refinement process. More...
|
| |
| void | postAdapt () |
| | Clean up refinement markers. More...
|
| |
| void | setPosition (const typename Traits::template Codim< dimgrid >::Entity &e, const FieldVector< ctype, dimworld > &pos) |
| | Sets a (leaf) vertex to a new position. More...
|
| |
|
| unsigned int | insertVertex (const FieldVector< ctype, dimworld > &pos) |
| | Add new vertex to be added the grid. More...
|
| |
| unsigned int | insertElement (const GeometryType &type, const std::vector< unsigned int > &vertices) |
| | Add a new element to be added to the grid. More...
|
| |
| DUNE_NO_DEPRECATED_BEGIN unsigned int | insertElement (const GeometryType &type, const std::vector< unsigned int > &vertices, const std::shared_ptr< VirtualFunction< FieldVector< ctype, dimgrid >, FieldVector< ctype, dimworld > > > &elementParametrization) |
| | Add a new element to be added to the grid. More...
|
| |
| DUNE_NO_DEPRECATED_END unsigned int | insertElement (const GeometryType &type, const std::vector< unsigned int > &vertices, std::function< FieldVector< ctype, dimworld >(FieldVector< ctype, dimgrid >)> elementParametrization) |
| | Add a new element to be added to the grid. More...
|
| |
| void | removeElement (const typename Traits::template Codim< 0 >::Entity &e) |
| | Mark an element for removal from the grid. More...
|
| |
| bool | preGrow () |
| | Book-keeping routine to be called before growth. More...
|
| |
| bool | grow () |
| | Triggers the grid growth process. More...
|
| |
| void | postGrow () |
| | Clean up isNew markers. More...
|
| |
| unsigned int | growthInsertionIndex (const typename Traits::template Codim< 0 >::Entity &e) const |
| | The index of insertion if the element was created in the current growth step. If this is the first element added to the growth queue by calling insertElement the index is 0 and so on. The index will be valid until postGrow is called. More...
|
| |
| unsigned int | growthInsertionIndex (const typename Traits::template Codim< dimgrid >::Entity &e) const |
| | The index of insertion if the vertex was created in the current growth step. If this is the first vertex added to the growth queue by calling insertVertex the index is 0 and so on. The index will be valid until postGrow is called. More...
|
| |
|
| unsigned int | overlapSize (int codim) const |
| | Size of the overlap on the leaf level. More...
|
| |
| unsigned int | ghostSize (int codim) const |
| | Size of the ghost cell layer on the leaf level. More...
|
| |
| unsigned int | overlapSize (int level, int codim) const |
| | Size of the overlap on a given level. More...
|
| |
| unsigned int | ghostSize (int level, int codim) const |
| | Size of the ghost cell layer on a given level. More...
|
| |
| template<class DataHandle > |
| bool | loadBalance (DataHandle &data) |
| | Distributes this grid over the available nodes in a distributed machine. More...
|
| |
| bool | loadBalance () |
| |
| template<class T , template< class > class P, int codim> |
| void | communicate (T &t, InterfaceType iftype, CommunicationDirection dir, int level) const |
| | The communication interface. More...
|
| |
| template<class DataHandle > |
| void | communicate (DataHandle &data, InterfaceType iftype, CommunicationDirection dir, int level) const |
| |
| template<class DataHandle > |
| void | communicate (DataHandle &data, InterfaceType iftype, CommunicationDirection dir) const |
| |
| const Traits::CollectiveCommunication & | comm () const |
| |
template<int dimgrid, int dimworld, class ct>
class Dune::FoamGrid< dimgrid, dimworld, ct >
An implementation of the Dune grid interface: a 1- or 2-dimensional simplicial grid in an n-dimensional world.
- Template Parameters
-
| dimgrid | Dimension of the grid; must be either 1 or 2 |
| dimworld | Dimension of the world space |