- Home
- About DUNE
- Download
- Documentation
- Community
- Development
[ provides Dune::Grid ] More...
#include <dune/grid/alugrid/2d/alugrid.hh>
Classes | |
struct | Partition |
Public Types | |
enum | { dimension = BaseType::dimension, dimensionworld = BaseType::dimensionworld } |
enum | { refineStepsForHalf = 1 } |
typedef BaseType::DuneBoundaryProjectionType | DuneBoundaryProjectionType |
type of boundary projection | |
typedef BaseType::DuneBoundaryProjectionVector | DuneBoundaryProjectionVector |
type of boundary projection | |
typedef BaseType::ctype | ctype |
typedef BaseType::GridFamily | GridFamily |
my Traits class | |
typedef GridFamily::Traits | Traits |
typedef BaseType::LocalIdSetImp | LocalIdSetImp |
Type of the local id set. | |
typedef Traits::GlobalIdSet | GlobalIdSet |
Type of the global id set. | |
typedef Traits::LocalIdSet | LocalIdSet |
Type of the local id set. | |
typedef GridFamily::LevelIndexSetImp | LevelIndexSetImp |
Type of the level index set. | |
typedef GridFamily::LeafIndexSetImp | LeafIndexSetImp |
Type of the leaf index set. | |
typedef BaseType::LeafIteratorImp | LeafIteratorImp |
a standard leaf iterator | |
typedef Traits::template Codim < 0 >::LeafIterator | LeafIteratorType |
typedef Traits::template Codim < 0 >::LeafIterator | LeafIterator |
typedef BaseType::HierarchicIteratorImp | HierarchicIteratorImp |
typedef Partition < All_Partition > ::LevelGridView | LevelGridView |
typedef Partition < All_Partition > ::LeafGridView | LeafGridView |
enum | |
maximal number of levels More... | |
enum | |
element chunk for refinement More... | |
enum | |
upper estimate on number of elements that could be created when a new element is created More... | |
enum | |
typedef ALU2dGridFamily< dim, dimworld, eltype >::Traits | Traits |
The traits of this class. | |
typedef ALU2dGridLeafIntersectionIterator < const ThisType > | LeafIntersectionIteratorImp |
typedef ALU2dGridLevelIntersectionIterator < const ThisType > | LevelIntersectionIteratorImp |
typedef ALUGridObjectFactory < ThisType > | GridObjectFactoryType |
typedef ALU2dGridObjectStream | ObjectStreamType |
dummy object stream | |
typedef ALU2dGridHierarchicIndexSet < dim, dimworld, elementType > | HierarchicIndexSet |
Type of the hierarchic index set. | |
typedef LocalIdSetImp | GlobalIdSetImp |
typedef ALU2dGridLevelIterator < 0, All_Partition, const ThisType > | LevelIteratorImp |
a standard leaf iterator | |
typedef Traits::template Codim < 0 >::LevelIterator | LevelIteratorType |
typedef Traits::template Codim < 0 >::LevelIterator | LevelIterator |
typedef Traits::CollectiveCommunication | CollectiveCommunicationType |
typedef MakeableInterfaceObject < typename Traits::template Codim< 0 >::Entity > | EntityObject |
typedef MakeableInterfaceObject < typename Traits::template Codim< 1 >::Entity > | FaceObject |
typedef MakeableInterfaceObject < typename Traits::template Codim< 2 >::Entity > | VertexObject |
typedef SingleTypeSizeCache < ThisType > | SizeCacheType |
the type of our size cache | |
typedef ALU2dGridLeafMarkerVector | ALU2dGridLeafMarkerVectorType |
Exported types | |
typedef GridFamily::Traits::GlobalIdSet | GlobalIdSet |
A type that is a model of Dune::IdSet which provides a unique and persistent numbering for all entities in the grid. The numbering is unique over all processes over which the grid is partitioned. The numbering is not necessarily consecutive. | |
typedef GridFamily::Traits::LocalIdSet | LocalIdSet |
A type that is a model of Dune::IdSet which provides a unique and persistent numbering for all entities in the grid. The numbering is only unique in a single process and it is not necessarily consecutive. | |
typedef Partition < All_Partition > ::LevelGridView | LevelGridView |
View types for All_Partition. | |
typedef Partition < All_Partition > ::LeafGridView | LeafGridView |
typedef GridFamily::Traits::LeafIntersection | LeafIntersection |
A type that is a model of Dune::LeafIntersection, an intersections of two codimension 1 of two codimension 0 entities in the leaf view. | |
typedef GridFamily::Traits::LevelIntersection | LevelIntersection |
A type that is a model of Dune::Intersection, an intersections of two codimension 1 of two codimension 0 entities in a level view. | |
typedef GridFamily::Traits::LeafIntersectionIterator | LeafIntersectionIterator |
A type that is a model of Dune::IntersectionIterator which is an iterator that allows to examine, but not to modify, the intersections of codimension 1 of an leaf element (entity of codimension 0) with other leaf elements. | |
typedef GridFamily::Traits::LevelIntersectionIterator | LevelIntersectionIterator |
A type that is a model of Dune::IntersectionIterator which is an iterator that allows to examine, but not to modify, the intersections of codimension 1 of an element (entity of codimension 0) with other elements on the same level. | |
typedef GridFamily::Traits::HierarchicIterator | HierarchicIterator |
A type that is a model of Dune::HierarchicIterator A type of iterator that allows to examine, but not to modify, entities of codimension 0 that result from refinement of an entity of codimension 0. | |
typedef GridFamily::Traits::LevelIndexSet | LevelIndexSet |
A type that is a model of Dune::IndexSet which provides a consecutive, but non persistent, numbering for entities on a grid level. | |
typedef GridFamily::Traits::LeafIndexSet | LeafIndexSet |
A type that is a model of Dune::IndexSet which provides a consecutive, but non persistent, numbering for entities in the leaf grid. | |
typedef GridFamily::Traits::CollectiveCommunication | CollectiveCommunication |
A type that is a model of Dune::CollectiveCommunication. It provides a portable way for collective communication on the set of processes used by the grid. | |
typedef ct | ctype |
Define type used for coordinates in grid module. | |
Exported constants | |
enum | { dimension = dim } |
A constant that exports the template parameter dim. More... | |
enum | { dimensionworld = dimworld } |
A constant that exports the template parameter dimworld. More... | |
Public Member Functions | |
ALUSimplexGrid (const std::string macroName, const DuneBoundaryProjectionType *bndProject=0, const DuneBoundaryProjectionVector *bndVector=0, const bool verbose=true) | |
constructor for creating ALUSimplexGrid from given macro grid file | |
ALUSimplexGrid (const std::string macroName, std::istream ¯oFile, const DuneBoundaryProjectionType *bndProject=0, const DuneBoundaryProjectionVector *bndVector=0, const bool verbose=true) | |
constructor for creating ALUSimplexGrid from given macro grid file | |
ALUSimplexGrid () | |
constructor creating empty grid | |
template<PartitionIteratorType pitype> | |
Partition< pitype >::LevelGridView | levelView (int level) const |
template<PartitionIteratorType pitype> | |
Partition< pitype >::LeafGridView | leafView () const |
LevelGridView | levelView (int level) const |
LeafGridView | leafView () const |
int | maxLevel () const |
Traits::template Codim< cd > ::template Partition< pitype > ::LevelIterator | lbegin (int level) const |
Traits::template Codim< cd > ::template Partition < All_Partition > ::LevelIterator | lbegin (int level) const |
Iterator to first entity of given codim on level. | |
LevelIteratorType | lbegin (int level) const |
Iterator to first entity of codim 0 on level. | |
Traits::template Codim< cd > ::template Partition< pitype > ::LevelIterator | lend (int level) const |
one past the end on this level | |
Traits::template Codim< cd > ::template Partition < All_Partition > ::LevelIterator | lend (int level) const |
one past the end on this level | |
LevelIteratorType | lend (int level) const |
last entity of codim 0 on level | |
Traits::template Codim< codim > ::template Partition< pitype > ::LeafIterator | leafbegin () const |
General definiton for a leaf iterator. | |
Traits::template Codim< codim > ::LeafIterator | leafbegin () const |
General definiton for a leaf iterator. | |
Traits::template Codim< codim > ::template Partition< pitype > ::LeafIterator | leafend () const |
General definition for an end iterator on leaf level. | |
Traits::template Codim< codim > ::LeafIterator | leafend () const |
General definition for an end iterator on leaf level. | |
int | size (int level, int cd) const |
number of grid entities per level and codim | |
int | size (int codim) const |
number of leaf entities per codim in this process | |
int | size (int level, GeometryType type) const |
number of entities per level, codim and geometry type in this process | |
int | size (GeometryType type) const |
number of leaf entities per codim and geometry type in this process | |
const std::vector< GeometryType > & | geomTypes (int codim) const |
deliver all geometry types used in this grid | |
const GlobalIdSet & | globalIdSet () const |
get global id set of grid | |
const LocalIdSet & | localIdSet () const |
get global id set of grid | |
int | hierSetSize (int cd) const |
number of grid entities in the entire grid for given codim | |
const HierarchicIndexSet & | hierarchicIndexSet () const |
get hierarchic index set of the grid | |
const Traits::LeafIndexSet & | leafIndexSet () const |
get leaf index set of the grid | |
const Traits::LevelIndexSet & | levelIndexSet (int level) const |
get level index set of the grid | |
HmeshType & | myGrid () |
HmeshType & | myGrid () const |
void | globalRefine (int refCount) |
refine grid refCount times | |
void | globalRefine (int refCount, AdaptDataHandleInterface< GridImp, DataHandle > &hamdle) |
bool | preAdapt () |
returns if a least one entity was marked for coarsening | |
bool | preAdapt () |
returns true, if at least one entity is marked for adaption | |
void | postAdapt () |
clear all entity new markers | |
void | postAdapt () |
clean up some markers | |
bool | adapt () |
bool | adapt (AdaptDataHandleInterface< GridImp, DataHandle > &handle) |
bool | adapt () |
Refine all positive marked leaf entities coarsen all negative marked entities if possible. | |
bool | refineGrid () |
int | getMark (const typename Traits::template Codim< 0 >::Entity &e) const |
int | getMark (const typename Traits::template Codim< 0 >::Entity &e) const |
returns adaptation mark for given entity, i.e. here the default implementation returns 0. | |
bool | mark (int refCount, const typename Traits::template Codim< 0 >::Entity &e) |
bool | mark (int refCount, const typename Traits::template Codim< 0 >::Entity &e) |
Marks an entity to be refined/coarsened in a subsequent adapt. | |
const CollectiveCommunicationType & | comm () const |
return dummy communication | |
void | makeGeomTypes () |
const char * | checkMacroGridFile (const std::string &filename) |
HmeshType & | mesh () const |
const DuneBoundaryProjectionType * | globalProjection () const |
const DuneBoundaryProjectionType * | boundaryProjection (const int segmentIndex) const |
return boudanry projection for given segment Id | |
size_t | numBoundarySegments () const |
return number of macro boundary segments | |
size_t | numBoundarySegments () const |
returns the number of boundary segments within the macro grid | |
bool | hasBoundaryProjection () const |
return true if boudanry projection is set | |
const BaseType::template ReturnImplementationType < IntersectionInterfaceType > ::ImplementationType & | getRealIntersectionIterator (const IntersectionInterfaceType &it) const |
const BaseType::template ReturnImplementationType < IntersectionType > ::ImplementationType & | getRealIntersection (const IntersectionType &intersection) const |
const GridObjectFactoryType & | factory () const |
ALU2dGridMarkerVector & | getMarkerVector (int level) const |
ALU2dGridLeafMarkerVectorType & | getLeafMarker () const |
bool | writeGrid (const std::string filename, alu2d_ctype time) const |
write Grid to file in specified FileFormatType | |
bool | writeGrid_Xdr (const std::string filename, alu2d_ctype time) const |
bool | writeGrid_Ascii (const std::string filename, alu2d_ctype time) const |
bool | readGrid (const std::string filename, alu2d_ctype &time) |
read Grid from file filename and store time of mesh in time | |
void | communicate (CommDataHandleIF< DataHandleImp, DataTypeImp > &data, InterfaceType iftype, CommunicationDirection dir, int level) const |
void | communicate (CommDataHandleIF< DataHandleImp, DataTypeImp > &data, InterfaceType iftype, CommunicationDirection dir) const |
Communicate information on distributed entities on the leaf grid. Template parameter is a model of Dune::CommDataHandleIF. | |
void | communicate (CommDataHandleIF< DataHandleImp, DataTypeImp > &data, InterfaceType iftype, CommunicationDirection dir, int level) const |
void | communicate (CommDataHandleIF< DataHandleImp, DataTypeImp > &data, InterfaceType iftype, CommunicationDirection dir) const |
int | ghostSize (int level, int codim) const |
int | ghostSize (int codim) const |
int | ghostSize (int level, int codim) const |
ghostSize is zero by default | |
int | ghostSize (int codim) const |
ghostSize is zero by default | |
bool | loadBalance () |
bool | loadBalance (DataHandle &data) |
bool | loadBalance () |
default implementation of load balance does nothing and returns false | |
bool | loadBalance (DataHandle &data) |
default implementation of load balance does nothing and returns false | |
void | checkManager () |
Traits::template Partition < pitype >::LevelGridView | levelView (int level) const |
View for a grid level. | |
Traits::template Partition < pitype >::LeafGridView | leafView () const |
View for the leaf grid. | |
int | overlapSize (int level, int codim) const |
overlapSize is zero by default | |
int | overlapSize (int codim) const |
overlapSize is zero by default | |
Traits::template Codim < EntitySeed::codimension > ::EntityPointer | entityPointer (const EntitySeed &seed) const |
Size methods | |
int | maxLevel () const |
Return maximum level defined in this grid. Levels are numbered 0 ... maxLevel with 0 the coarsest level. | |
int | size (int level, int codim) const |
Return number of grid entities of a given codim on a given level in this process. | |
int | size (int codim) const |
Return number of leaf entities of a given codim in this process. | |
int | size (int level, GeometryType type) const |
Return number of entities per level and geometry type in this process. | |
int | size (GeometryType type) const |
Return number of leaf entities per geometry type in this process. | |
Iterators | |
template<int cd, PartitionIteratorType pitype> | |
Codim< cd >::template Partition< pitype > ::LevelIterator | lbegin (int level) const |
Iterator to first entity of given codim on level. | |
template<int cd, PartitionIteratorType pitype> | |
Codim< cd >::template Partition< pitype > ::LevelIterator | lend (int level) const |
one past the end on this level | |
template<int cd, PartitionIteratorType pitype> | |
Codim< cd >::template Partition< pitype > ::LeafIterator | leafbegin () const |
Iterator to first entity of given codim on leaf grid. | |
template<int cd, PartitionIteratorType pitype> | |
Codim< cd >::template Partition< pitype > ::LeafIterator | leafend () const |
one past the end on the leaf level grid | |
Access to index and id sets | |
const GlobalIdSet & | globalIdSet () const |
return const reference to the grids global id set | |
const LocalIdSet & | localIdSet () const |
return const reference to the grids local id set | |
const LeafIndexSet & | leafIndexSet () const |
return const reference to the grids leaf index set | |
const LevelIndexSet & | levelIndexSet (int level) const |
return const reference to the grids level index set for level level | |
Adaptivity and grid refinement | |
void | globalRefine (int refCount) |
Refine the grid refCount times using the default refinement rule. | |
int | getMark (const typename Codim< 0 >::Entity &e) const |
returns adaptation mark for given entity | |
bool | mark (int refCount, const typename Codim< 0 >::Entity &e) |
Marks an entity to be refined/coarsened in a subsequent adapt. | |
Parallel data distribution and communication | |
const CollectiveCommunication & | comm () const |
return const reference to a collective communication object. The return type is a model of Dune::CollectiveCommunication. | |
Static Public Member Functions | |
static std::string | name () |
return name of the grid | |
Public Attributes | |
HmeshType * | mygrid_ |
the real grid | |
GridObjectFactoryType | factory_ |
HierarchicIndexSet | hIndexSet_ |
the hierarchic index set | |
LocalIdSetImp | localIdSet_ |
out global id set | |
std::vector< LevelIndexSetImp * > | levelIndexVec_ |
the level index set ( default type ) | |
std::vector< std::vector < GeometryType > > | geomTypes_ |
LeafIndexSetImp * | leafIndexSet_ |
the leaf index set | |
int | maxLevel_ |
int | refineMarked_ |
int | coarsenMarked_ |
const int | nrOfHangingNodes_ |
SizeCacheType * | sizeCache_ |
bool | lockPostAdapt_ |
const DuneBoundaryProjectionType * | bndPrj_ |
const DuneBoundaryProjectionVector * | bndVec_ |
ALUGridBoundaryProjectionType * | vertexProjection_ |
Static Public Attributes | |
static const ALU2DSPACE ElementType | elementType |
Protected Types | |
typedef MakeableInterfaceObject < typename Traits::template Codim< 0 >::Geometry > | GeometryObject |
typedef ALU2dGridBoundaryProjection < ThisType > | ALUGridBoundaryProjectionType |
Protected Member Functions | |
HmeshType * | createGrid (const std::string &, const int, std::istream *) |
bool | nonConform () const |
GridImp & | asImp () |
Barton-Nackman trick. | |
const GridImp & | asImp () const |
Barton-Nackman trick. | |
Static Protected Member Functions | |
static ReturnImplementationType < InterfaceType > ::ImplementationType & | getRealImplementation (InterfaceType &i) |
return real implementation of interface class | |
Protected Attributes | |
int | maxlevel_ |
ALU2dGridMarkerVector | marker_ [MAXL] |
Friends | |
class | Conversion< ALUSimplexGrid< dimension, dimensionworld >, HasObjectStream > |
class | Conversion< const ALUSimplexGrid< dimension, dimensionworld >, HasObjectStream > |
class | Conversion< ALUSimplexGrid< dimension, dimensionworld >, HasHierarchicIndexSet > |
class | Conversion< const ALUSimplexGrid< dimension, dimensionworld >, HasHierarchicIndexSet > |
class | ALU2dGridFactory |
class | ALULocalGeometryStorage< const ThisType, GeometryObject, 4 > |
class | ALULocalGeometryStorage< const ThisType, GeometryObject, 2 > |
class | ALUGridBoundaryProjection< ThisType > |
class | ALU2dGridBoundaryProjection< ThisType > |
class | Conversion< ALU2dGrid< dim, dimworld, eltype >, HasObjectStream > |
class | Conversion< const ALU2dGrid< dim, dimworld, eltype >, HasObjectStream > |
class | Conversion< ALU2dGrid< dim, dimworld, eltype >, HasHierarchicIndexSet > |
class | Conversion< const ALU2dGrid< dim, dimworld, eltype >, HasHierarchicIndexSet > |
class | IntersectionIteratorWrapper< const ThisType, LeafIntersectionIteratorImp > |
class | IntersectionIteratorWrapper< const ThisType, LevelIntersectionIteratorImp > |
class | LeafIntersectionIteratorWrapper< const ThisType > |
class | LevelIntersectionIteratorWrapper< const ThisType > |
[ provides Dune::Grid ]
constructor for creating ALUSimplexGrid from given macro grid file
macroName | filename for macro grid in ALUGrid triangle format | |
bndProject | global boundary projection pointer | |
bndVector | pointer to vector holding boundary projection for each boundary segment. ALUGrid takes ownership of this pointer and will delete it in the desctructor | |
verbose | Whether to write a notice about grid creation to stdout. |
typedef ALU2dGridLeafMarkerVector Dune::ALU2dGrid< dim, dimworld, eltype >::ALU2dGridLeafMarkerVectorType [inherited] |
typedef ALU2dGridBoundaryProjection< ThisType > Dune::ALU2dGrid< dim, dimworld, eltype >::ALUGridBoundaryProjectionType [protected, inherited] |
typedef GridFamily::Traits::CollectiveCommunication Dune::Grid< dim, dimworld, ct, GridFamily >::CollectiveCommunication [inherited] |
A type that is a model of Dune::CollectiveCommunication. It provides a portable way for collective communication on the set of processes used by the grid.
Reimplemented in Dune::AlbertaGrid< dim, dimworld >.
typedef Traits::CollectiveCommunication Dune::ALU2dGrid< dim, dimworld, eltype >::CollectiveCommunicationType [inherited] |
typedef ct Dune::Grid< dim, dimworld, ct, GridFamily >::ctype [inherited] |
Define type used for coordinates in grid module.
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, and Dune::UGGrid< dimworld >.
typedef BaseType::ctype Dune::ALUSimplexGrid< 2, dimw >::ctype |
typedef BaseType :: DuneBoundaryProjectionType Dune::ALUSimplexGrid< 2, dimw >::DuneBoundaryProjectionType |
type of boundary projection
Reimplemented from Dune::ALU2dGrid< 2, dimw, ALU2DSPACE triangle >.
typedef BaseType :: DuneBoundaryProjectionVector Dune::ALUSimplexGrid< 2, dimw >::DuneBoundaryProjectionVector |
type of boundary projection
Reimplemented from Dune::ALU2dGrid< 2, dimw, ALU2DSPACE triangle >.
typedef MakeableInterfaceObject<typename Traits::template Codim<0>::Entity> Dune::ALU2dGrid< dim, dimworld, eltype >::EntityObject [inherited] |
typedef MakeableInterfaceObject<typename Traits::template Codim<1>::Entity> Dune::ALU2dGrid< dim, dimworld, eltype >::FaceObject [inherited] |
typedef MakeableInterfaceObject<typename Traits::template Codim<0>::Geometry> Dune::ALU2dGrid< dim, dimworld, eltype >::GeometryObject [protected, inherited] |
typedef GridFamily::Traits::GlobalIdSet Dune::Grid< dim, dimworld, ct, GridFamily >::GlobalIdSet [inherited] |
A type that is a model of Dune::IdSet which provides a unique and persistent numbering for all entities in the grid. The numbering is unique over all processes over which the grid is partitioned. The numbering is not necessarily consecutive.
Reimplemented in Dune::AlbertaGrid< dim, dimworld >.
typedef Traits :: GlobalIdSet Dune::ALUSimplexGrid< 2, dimw >::GlobalIdSet |
Type of the global id set.
Reimplemented from Dune::ALU2dGrid< 2, dimw, ALU2DSPACE triangle >.
typedef LocalIdSetImp Dune::ALU2dGrid< dim, dimworld, eltype >::GlobalIdSetImp [inherited] |
typedef BaseType::GridFamily Dune::ALUSimplexGrid< 2, dimw >::GridFamily |
my Traits class
Reimplemented from Dune::ALU2dGrid< 2, dimw, ALU2DSPACE triangle >.
typedef ALUGridObjectFactory< ThisType > Dune::ALU2dGrid< dim, dimworld, eltype >::GridObjectFactoryType [inherited] |
typedef ALU2dGridHierarchicIndexSet<dim,dimworld,elementType> Dune::ALU2dGrid< dim, dimworld, eltype >::HierarchicIndexSet [inherited] |
Type of the hierarchic index set.
typedef GridFamily::Traits::HierarchicIterator Dune::Grid< dim, dimworld, ct, GridFamily >::HierarchicIterator [inherited] |
A type that is a model of Dune::HierarchicIterator A type of iterator that allows to examine, but not to modify, entities of codimension 0 that result from refinement of an entity of codimension 0.
typedef BaseType::HierarchicIteratorImp Dune::ALUSimplexGrid< 2, dimw >::HierarchicIteratorImp |
Reimplemented from Dune::ALU2dGrid< 2, dimw, ALU2DSPACE triangle >.
typedef Partition< All_Partition >:: LeafGridView Dune::ALUSimplexGrid< 2, dimw >::LeafGridView |
typedef Partition< All_Partition >:: LeafGridView Dune::Grid< dim, dimworld, ct, GridFamily >::LeafGridView [inherited] |
typedef GridFamily::Traits::LeafIndexSet Dune::Grid< dim, dimworld, ct, GridFamily >::LeafIndexSet [inherited] |
A type that is a model of Dune::IndexSet which provides a consecutive, but non persistent, numbering for entities in the leaf grid.
Reimplemented in Dune::AlbertaGrid< dim, dimworld >.
typedef GridFamily :: LeafIndexSetImp Dune::ALUSimplexGrid< 2, dimw >::LeafIndexSetImp |
Type of the leaf index set.
Reimplemented from Dune::ALU2dGrid< 2, dimw, ALU2DSPACE triangle >.
typedef GridFamily::Traits::LeafIntersection Dune::Grid< dim, dimworld, ct, GridFamily >::LeafIntersection [inherited] |
A type that is a model of Dune::LeafIntersection, an intersections of two codimension 1 of two codimension 0 entities in the leaf view.
typedef GridFamily::Traits::LeafIntersectionIterator Dune::Grid< dim, dimworld, ct, GridFamily >::LeafIntersectionIterator [inherited] |
A type that is a model of Dune::IntersectionIterator which is an iterator that allows to examine, but not to modify, the intersections of codimension 1 of an leaf element (entity of codimension 0) with other leaf elements.
typedef ALU2dGridLeafIntersectionIterator<const ThisType> Dune::ALU2dGrid< dim, dimworld, eltype >::LeafIntersectionIteratorImp [inherited] |
typedef Traits::template Codim<0>::LeafIterator Dune::ALUSimplexGrid< 2, dimw >::LeafIterator |
Reimplemented from Dune::ALU2dGrid< 2, dimw, ALU2DSPACE triangle >.
typedef BaseType::LeafIteratorImp Dune::ALUSimplexGrid< 2, dimw >::LeafIteratorImp |
a standard leaf iterator
Reimplemented from Dune::ALU2dGrid< 2, dimw, ALU2DSPACE triangle >.
typedef Traits::template Codim<0>::LeafIterator Dune::ALUSimplexGrid< 2, dimw >::LeafIteratorType |
Reimplemented from Dune::ALU2dGrid< 2, dimw, ALU2DSPACE triangle >.
typedef Partition< All_Partition >:: LevelGridView Dune::Grid< dim, dimworld, ct, GridFamily >::LevelGridView [inherited] |
View types for All_Partition.
typedef Partition< All_Partition >:: LevelGridView Dune::ALUSimplexGrid< 2, dimw >::LevelGridView |
typedef GridFamily::Traits::LevelIndexSet Dune::Grid< dim, dimworld, ct, GridFamily >::LevelIndexSet [inherited] |
A type that is a model of Dune::IndexSet which provides a consecutive, but non persistent, numbering for entities on a grid level.
Reimplemented in Dune::AlbertaGrid< dim, dimworld >.
typedef GridFamily :: LevelIndexSetImp Dune::ALUSimplexGrid< 2, dimw >::LevelIndexSetImp |
Type of the level index set.
Reimplemented from Dune::ALU2dGrid< 2, dimw, ALU2DSPACE triangle >.
typedef GridFamily::Traits::LevelIntersection Dune::Grid< dim, dimworld, ct, GridFamily >::LevelIntersection [inherited] |
A type that is a model of Dune::Intersection, an intersections of two codimension 1 of two codimension 0 entities in a level view.
typedef GridFamily::Traits::LevelIntersectionIterator Dune::Grid< dim, dimworld, ct, GridFamily >::LevelIntersectionIterator [inherited] |
A type that is a model of Dune::IntersectionIterator which is an iterator that allows to examine, but not to modify, the intersections of codimension 1 of an element (entity of codimension 0) with other elements on the same level.
typedef ALU2dGridLevelIntersectionIterator<const ThisType> Dune::ALU2dGrid< dim, dimworld, eltype >::LevelIntersectionIteratorImp [inherited] |
typedef Traits::template Codim<0>::LevelIterator Dune::ALU2dGrid< dim, dimworld, eltype >::LevelIterator [inherited] |
typedef ALU2dGridLevelIterator<0, All_Partition, const ThisType> Dune::ALU2dGrid< dim, dimworld, eltype >::LevelIteratorImp [inherited] |
a standard leaf iterator
typedef Traits::template Codim<0>::LevelIterator Dune::ALU2dGrid< dim, dimworld, eltype >::LevelIteratorType [inherited] |
typedef Traits :: LocalIdSet Dune::ALUSimplexGrid< 2, dimw >::LocalIdSet |
Type of the local id set.
Reimplemented from Dune::ALU2dGrid< 2, dimw, ALU2DSPACE triangle >.
typedef GridFamily::Traits::LocalIdSet Dune::Grid< dim, dimworld, ct, GridFamily >::LocalIdSet [inherited] |
A type that is a model of Dune::IdSet which provides a unique and persistent numbering for all entities in the grid. The numbering is only unique in a single process and it is not necessarily consecutive.
Reimplemented in Dune::AlbertaGrid< dim, dimworld >.
typedef BaseType::LocalIdSetImp Dune::ALUSimplexGrid< 2, dimw >::LocalIdSetImp |
Type of the local id set.
Reimplemented from Dune::ALU2dGrid< 2, dimw, ALU2DSPACE triangle >.
typedef ALU2dGridObjectStream Dune::ALU2dGrid< dim, dimworld, eltype >::ObjectStreamType [inherited] |
dummy object stream
typedef SingleTypeSizeCache<ThisType> Dune::ALU2dGrid< dim, dimworld, eltype >::SizeCacheType [inherited] |
the type of our size cache
typedef GridFamily::Traits Dune::ALUSimplexGrid< 2, dimw >::Traits |
Reimplemented from Dune::ALU2dGrid< 2, dimw, ALU2DSPACE triangle >.
typedef ALU2dGridFamily< dim, dimworld, eltype > ::Traits Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype , ALU2dGridFamily< dim, dimworld, eltype > >::Traits [inherited] |
The traits of this class.
Presents the typedefs as described in GridTraits.
typedef MakeableInterfaceObject<typename Traits::template Codim<2>::Entity> Dune::ALU2dGrid< dim, dimworld, eltype >::VertexObject [inherited] |
anonymous enum [inherited] |
anonymous enum [inherited] |
anonymous enum [inherited] |
maximal number of levels
anonymous enum [inherited] |
element chunk for refinement
anonymous enum [inherited] |
upper estimate on number of elements that could be created when a new element is created
anonymous enum [inherited] |
Dune::ALUSimplexGrid< 2, dimw >::ALUSimplexGrid | ( | const std::string | macroName, | |
const DuneBoundaryProjectionType * | bndProject = 0 , |
|||
const DuneBoundaryProjectionVector * | bndVector = 0 , |
|||
const bool | verbose = true | |||
) | [inline] |
constructor for creating ALUSimplexGrid from given macro grid file
macroName | filename for macro grid in ALUGrid triangle format | |
bndProject | global boundary projection pointer | |
bndVector | pointer to vector holding boundary projection for each boundary segment. ALUGrid takes ownership of this pointer and will delete it in the desctructor | |
verbose | Whether to write a notice about grid creation to stdout. |
Dune::ALUSimplexGrid< 2, dimw >::ALUSimplexGrid | ( | const std::string | macroName, | |
std::istream & | macroFile, | |||
const DuneBoundaryProjectionType * | bndProject = 0 , |
|||
const DuneBoundaryProjectionVector * | bndVector = 0 , |
|||
const bool | verbose = true | |||
) | [inline] |
constructor for creating ALUSimplexGrid from given macro grid file
macroName | filename for macro grid in ALUGrid triangle format | |
macroFile | Stream to read macro grid file contents from. | |
bndProject | global boundary projection pointer | |
bndVector | pointer to vector holding boundary projection for each boundary segment. ALUGrid takes ownership of this pointer and will delete it in the desctructor | |
verbose | Whether to write a notice about grid creation to stdout. |
Dune::ALUSimplexGrid< 2, dimw >::ALUSimplexGrid | ( | ) | [inline] |
constructor creating empty grid
bool Dune::ALU2dGrid< dim, dimworld, eltype >::adapt | ( | ) | [inherited] |
! refine all positive marked leaf entities, return true if a least one entity was refined
bool Dune::ALU2dGrid< dim, dimworld, eltype >::adapt | ( | AdaptDataHandleInterface< GridImp, DataHandle > & | handle | ) | [inherited] |
bool Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype , ALU2dGridFamily< dim, dimworld, eltype > >::adapt | ( | ) | [inline, inherited] |
Refine all positive marked leaf entities coarsen all negative marked entities if possible.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
GridImp& Dune::Grid< dim, dimworld, ct, GridFamily >::asImp | ( | ) | [inline, protected, inherited] |
Barton-Nackman trick.
Referenced by Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::adapt(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::comm(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::communicate(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::entityPointer(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::getMark(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::ghostSize(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::globalIdSet(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::globalRefine(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::lbegin(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::leafbegin(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::leafend(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::leafIndexSet(), Dune::GridDefaultImplementation< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::leafView(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::leafView(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::lend(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::levelIndexSet(), Dune::GridDefaultImplementation< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::levelView(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::levelView(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::loadBalance(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::localIdSet(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::mark(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::maxLevel(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::numBoundarySegments(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::overlapSize(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::postAdapt(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::preAdapt(), and Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::size().
const GridImp& Dune::Grid< dim, dimworld, ct, GridFamily >::asImp | ( | ) | const [inline, protected, inherited] |
Barton-Nackman trick.
const DuneBoundaryProjectionType* Dune::ALU2dGrid< dim, dimworld, eltype >::boundaryProjection | ( | const int | segmentIndex | ) | const [inline, inherited] |
return boudanry projection for given segment Id
const char* Dune::ALU2dGrid< dim, dimworld, eltype >::checkMacroGridFile | ( | const std::string & | filename | ) | [inherited] |
void Dune::ALU2dGrid< dim, dimworld, eltype >::checkManager | ( | ) | [inline, inherited] |
const CollectiveCommunicationType& Dune::ALU2dGrid< dim, dimworld, eltype >::comm | ( | ) | const [inherited] |
return dummy communication
const CollectiveCommunication& Dune::Grid< dim, dimworld, ct, GridFamily >::comm | ( | ) | const [inline, inherited] |
return const reference to a collective communication object. The return type is a model of Dune::CollectiveCommunication.
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, and Dune::UGGrid< dimworld >.
Referenced by Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::comm().
void Dune::ALU2dGrid< dim, dimworld, eltype >::communicate | ( | CommDataHandleIF< DataHandleImp, DataTypeImp > & | data, | |
InterfaceType | iftype, | |||
CommunicationDirection | dir | |||
) | const [inherited] |
Communicate information on distributed entities on the leaf grid. Template parameter is a model of Dune::CommDataHandleIF.
void Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype , ALU2dGridFamily< dim, dimworld, eltype > >::communicate | ( | CommDataHandleIF< DataHandleImp, DataTypeImp > & | data, | |
InterfaceType | iftype, | |||
CommunicationDirection | dir, | |||
int | level | |||
) | const [inline, inherited] |
dummy communicate, doing nothing
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
void Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype , ALU2dGridFamily< dim, dimworld, eltype > >::communicate | ( | CommDataHandleIF< DataHandleImp, DataTypeImp > & | data, | |
InterfaceType | iftype, | |||
CommunicationDirection | dir | |||
) | const [inline, inherited] |
dummy communicate, doing nothing
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
void Dune::ALU2dGrid< dim, dimworld, eltype >::communicate | ( | CommDataHandleIF< DataHandleImp, DataTypeImp > & | data, | |
InterfaceType | iftype, | |||
CommunicationDirection | dir, | |||
int | level | |||
) | const [inherited] |
Communicate information on distributed entities on a given level Template parameter is a model of Dune::CommDataHandleIF.
HmeshType* Dune::ALU2dGrid< dim, dimworld, eltype >::createGrid | ( | const std::string & | , | |
const | int, | |||
std::istream * | ||||
) | [protected, inherited] |
Traits :: template Codim< EntitySeed :: codimension >:: EntityPointer Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype , ALU2dGridFamily< dim, dimworld, eltype > >::entityPointer | ( | const EntitySeed & | seed | ) | const [inline, inherited] |
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
const GridObjectFactoryType& Dune::ALU2dGrid< dim, dimworld, eltype >::factory | ( | ) | const [inline, inherited] |
const std::vector<GeometryType>& Dune::ALU2dGrid< dim, dimworld, eltype >::geomTypes | ( | int | codim | ) | const [inline, inherited] |
deliver all geometry types used in this grid
ALU2dGridLeafMarkerVectorType& Dune::ALU2dGrid< dim, dimworld, eltype >::getLeafMarker | ( | ) | const [inline, inherited] |
return reference to vector determing on which element a face is visited
int Dune::ALU2dGrid< dim, dimworld, eltype >::getMark | ( | const typename Traits::template Codim< 0 >::Entity & | e | ) | const [inherited] |
int Dune::Grid< dim, dimworld, ct, GridFamily >::getMark | ( | const typename Codim< 0 >::Entity & | e | ) | const [inline, inherited] |
int Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype , ALU2dGridFamily< dim, dimworld, eltype > >::getMark | ( | const typename Traits::template Codim< 0 >::Entity & | e | ) | const [inline, inherited] |
returns adaptation mark for given entity, i.e. here the default implementation returns 0.
[in] | e | Entity for which adaptation mark should be determined |
ALU2dGridMarkerVector& Dune::ALU2dGrid< dim, dimworld, eltype >::getMarkerVector | ( | int | level | ) | const [inline, inherited] |
return reference to vector telling on which element a face is visted for this level
static ReturnImplementationType<InterfaceType>::ImplementationType& Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype , ALU2dGridFamily< dim, dimworld, eltype > >::getRealImplementation | ( | InterfaceType & | i | ) | [inline, static, protected, inherited] |
return real implementation of interface class
Referenced by Dune::ALU2dGrid< 2, dimw, ALU2DSPACE quadrilateral >::getRealIntersection(), Dune::ALU2dGrid< 2, dimw, ALU2DSPACE quadrilateral >::getRealIntersectionIterator(), and Dune::ALU2dGridHierarchicIndexSet< dim, dimworld, elementType >::index().
const BaseType :: template ReturnImplementationType< IntersectionType>:: ImplementationType& Dune::ALU2dGrid< dim, dimworld, eltype >::getRealIntersection | ( | const IntersectionType & | intersection | ) | const [inline, inherited] |
const BaseType :: template ReturnImplementationType< IntersectionInterfaceType>:: ImplementationType& Dune::ALU2dGrid< dim, dimworld, eltype >::getRealIntersectionIterator | ( | const IntersectionInterfaceType & | it | ) | const [inline, inherited] |
int Dune::ALU2dGrid< dim, dimworld, eltype >::ghostSize | ( | int | level, | |
int | codim | |||
) | const [inline, inherited] |
int Dune::ALU2dGrid< dim, dimworld, eltype >::ghostSize | ( | int | codim | ) | const [inline, inherited] |
int Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype , ALU2dGridFamily< dim, dimworld, eltype > >::ghostSize | ( | int | level, | |
int | codim | |||
) | const [inline, inherited] |
ghostSize is zero by default
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
int Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype , ALU2dGridFamily< dim, dimworld, eltype > >::ghostSize | ( | int | codim | ) | const [inline, inherited] |
ghostSize is zero by default
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
const GlobalIdSet& Dune::Grid< dim, dimworld, ct, GridFamily >::globalIdSet | ( | ) | const [inline, inherited] |
return const reference to the grids global id set
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, and Dune::UGGrid< dimworld >.
Referenced by Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::globalIdSet().
const GlobalIdSet& Dune::ALU2dGrid< dim, dimworld, eltype >::globalIdSet | ( | ) | const [inherited] |
get global id set of grid
const DuneBoundaryProjectionType* Dune::ALU2dGrid< dim, dimworld, eltype >::globalProjection | ( | ) | const [inline, inherited] |
void Dune::ALU2dGrid< dim, dimworld, eltype >::globalRefine | ( | int | refCount | ) | [inherited] |
refine grid refCount times
void Dune::ALU2dGrid< dim, dimworld, eltype >::globalRefine | ( | int | refCount, | |
AdaptDataHandleInterface< GridImp, DataHandle > & | hamdle | |||
) | [inherited] |
void Dune::Grid< dim, dimworld, ct, GridFamily >::globalRefine | ( | int | refCount | ) | [inline, inherited] |
Refine the grid refCount times using the default refinement rule.
This behaves like marking all elements for refinement and then calling preAdapt, adapt and postAdapt. The state after globalRefine is comparable to the state after postAdapt.
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, and Dune::UGGrid< dimworld >.
Referenced by Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::globalRefine().
bool Dune::ALU2dGrid< dim, dimworld, eltype >::hasBoundaryProjection | ( | ) | const [inline, inherited] |
return true if boudanry projection is set
const HierarchicIndexSet& Dune::ALU2dGrid< dim, dimworld, eltype >::hierarchicIndexSet | ( | ) | const [inherited] |
get hierarchic index set of the grid
int Dune::ALU2dGrid< dim, dimworld, eltype >::hierSetSize | ( | int | cd | ) | const [inherited] |
number of grid entities in the entire grid for given codim
Traits::template Codim<cd>::template Partition<pitype>::LevelIterator Dune::ALU2dGrid< dim, dimworld, eltype >::lbegin | ( | int | level | ) | const [inherited] |
--Leveliterator Iterator to first entity of given codim on level
Traits::template Codim<cd>:: template Partition<All_Partition>::LevelIterator Dune::ALU2dGrid< dim, dimworld, eltype >::lbegin | ( | int | level | ) | const [inherited] |
Iterator to first entity of given codim on level.
LevelIteratorType Dune::ALU2dGrid< dim, dimworld, eltype >::lbegin | ( | int | level | ) | const [inherited] |
Iterator to first entity of codim 0 on level.
Codim<cd>::template Partition<pitype>::LevelIterator Dune::Grid< dim, dimworld, ct, GridFamily >::lbegin | ( | int | level | ) | const [inline, inherited] |
Iterator to first entity of given codim on level.
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, Dune::SGrid< dim, dimworld >, Dune::UGGrid< dimworld >, and Dune::UGGrid< dimworld >.
Traits::template Codim<codim>::template Partition<pitype>::LeafIterator Dune::ALU2dGrid< dim, dimworld, eltype >::leafbegin | ( | ) | const [inherited] |
General definiton for a leaf iterator.
Traits::template Codim<codim>::LeafIterator Dune::ALU2dGrid< dim, dimworld, eltype >::leafbegin | ( | ) | const [inherited] |
General definiton for a leaf iterator.
Codim<cd>::template Partition<pitype>::LeafIterator Dune::Grid< dim, dimworld, ct, GridFamily >::leafbegin | ( | ) | const [inline, inherited] |
Iterator to first entity of given codim on leaf grid.
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, Dune::SGrid< dim, dimworld >, Dune::UGGrid< dimworld >, and Dune::UGGrid< dimworld >.
Traits::template Codim<codim>::template Partition<pitype>::LeafIterator Dune::ALU2dGrid< dim, dimworld, eltype >::leafend | ( | ) | const [inherited] |
General definition for an end iterator on leaf level.
Traits::template Codim<codim>::LeafIterator Dune::ALU2dGrid< dim, dimworld, eltype >::leafend | ( | ) | const [inherited] |
General definition for an end iterator on leaf level.
Codim<cd>::template Partition<pitype>::LeafIterator Dune::Grid< dim, dimworld, ct, GridFamily >::leafend | ( | ) | const [inline, inherited] |
one past the end on the leaf level grid
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, Dune::SGrid< dim, dimworld >, Dune::UGGrid< dimworld >, and Dune::UGGrid< dimworld >.
const Traits :: LeafIndexSet& Dune::ALU2dGrid< dim, dimworld, eltype >::leafIndexSet | ( | ) | const [inherited] |
get leaf index set of the grid
const LeafIndexSet& Dune::Grid< dim, dimworld, ct, GridFamily >::leafIndexSet | ( | ) | const [inline, inherited] |
return const reference to the grids leaf index set
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, and Dune::UGGrid< dimworld >.
Referenced by Dune::GeoGrid::LeafIteratorTraits< codim, pitype, Grid >::getHostIndexSet(), and Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::leafIndexSet().
LeafGridView Dune::ALUSimplexGrid< 2, dimw >::leafView | ( | ) | const [inline] |
Traits::template Partition<pitype>::LeafGridView Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype , ALU2dGridFamily< dim, dimworld, eltype > >::leafView | ( | ) | const [inline, inherited] |
View for the leaf grid.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
Partition< pitype >::LeafGridView Dune::ALUSimplexGrid< 2, dimw >::leafView | ( | ) | const [inline] |
Codim<cd>::template Partition<pitype>::LevelIterator Dune::Grid< dim, dimworld, ct, GridFamily >::lend | ( | int | level | ) | const [inline, inherited] |
one past the end on this level
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, Dune::SGrid< dim, dimworld >, Dune::UGGrid< dimworld >, and Dune::UGGrid< dimworld >.
Traits::template Codim<cd>::template Partition<pitype>::LevelIterator Dune::ALU2dGrid< dim, dimworld, eltype >::lend | ( | int | level | ) | const [inherited] |
one past the end on this level
Traits::template Codim<cd>:: template Partition<All_Partition>::LevelIterator Dune::ALU2dGrid< dim, dimworld, eltype >::lend | ( | int | level | ) | const [inherited] |
one past the end on this level
LevelIteratorType Dune::ALU2dGrid< dim, dimworld, eltype >::lend | ( | int | level | ) | const [inherited] |
last entity of codim 0 on level
const Traits :: LevelIndexSet& Dune::ALU2dGrid< dim, dimworld, eltype >::levelIndexSet | ( | int | level | ) | const [inherited] |
get level index set of the grid
const LevelIndexSet& Dune::Grid< dim, dimworld, ct, GridFamily >::levelIndexSet | ( | int | level | ) | const [inline, inherited] |
return const reference to the grids level index set for level level
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, and Dune::UGGrid< dimworld >.
Referenced by Dune::GeoGrid::LevelIteratorTraits< codim, pitype, Grid >::getHostIndexSet(), and Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::levelIndexSet().
Traits::template Partition<pitype>::LevelGridView Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype , ALU2dGridFamily< dim, dimworld, eltype > >::levelView | ( | int | level | ) | const [inline, inherited] |
View for a grid level.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
Partition< pitype >::LevelGridView Dune::ALUSimplexGrid< 2, dimw >::levelView | ( | int | level | ) | const [inline] |
LevelGridView Dune::ALUSimplexGrid< 2, dimw >::levelView | ( | int | level | ) | const [inline] |
bool Dune::ALU2dGrid< dim, dimworld, eltype >::loadBalance | ( | ) | [inherited] |
Re-balances the load each process has to handle for a parallel grid, if grid has changed , true is returned.
bool Dune::ALU2dGrid< dim, dimworld, eltype >::loadBalance | ( | DataHandle & | data | ) | [inherited] |
Re-balances the load each process has to handle for a parallel grid, if grid has changed , true is returned.
bool Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype , ALU2dGridFamily< dim, dimworld, eltype > >::loadBalance | ( | ) | [inline, inherited] |
default implementation of load balance does nothing and returns false
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
bool Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype , ALU2dGridFamily< dim, dimworld, eltype > >::loadBalance | ( | DataHandle & | data | ) | [inline, inherited] |
default implementation of load balance does nothing and returns false
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
const LocalIdSet& Dune::ALU2dGrid< dim, dimworld, eltype >::localIdSet | ( | ) | const [inherited] |
get global id set of grid
const LocalIdSet& Dune::Grid< dim, dimworld, ct, GridFamily >::localIdSet | ( | ) | const [inline, inherited] |
return const reference to the grids local id set
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, and Dune::UGGrid< dimworld >.
Referenced by Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::localIdSet().
void Dune::ALU2dGrid< dim, dimworld, eltype >::makeGeomTypes | ( | ) | [inherited] |
bool Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype , ALU2dGridFamily< dim, dimworld, eltype > >::mark | ( | int | refCount, | |
const typename Traits::template Codim< 0 >::Entity & | e | |||
) | [inline, inherited] |
Marks an entity to be refined/coarsened in a subsequent adapt.
[in] | refCount | Number of subdivisions that should be applied. Negative value means coarsening. |
[in] | e | Entity to Entity that should be refined |
bool mark( int refCount, typename Traits::template Codim<0>::Entity & e ).
bool Dune::ALU2dGrid< dim, dimworld, eltype >::mark | ( | int | refCount, | |
const typename Traits::template Codim< 0 >::Entity & | e | |||
) | [inherited] |
bool Dune::Grid< dim, dimworld, ct, GridFamily >::mark | ( | int | refCount, | |
const typename Codim< 0 >::Entity & | e | |||
) | [inline, inherited] |
int Dune::Grid< dim, dimworld, ct, GridFamily >::maxLevel | ( | ) | const [inline, inherited] |
Return maximum level defined in this grid. Levels are numbered 0 ... maxLevel with 0 the coarsest level.
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, and Dune::UGGrid< dimworld >.
Referenced by Dune::PersistentContainerMap< HostGrid, HostGrid::Traits::LocalIdSet, std::map< const HostGrid::Traits::LocalIdSet::IdType, Coordinate, std::less< const HostGrid::Traits::LocalIdSet::IdType >, Allocator > >::adaptCodim(), Dune::ALUGridLoadBalanceDataHandle< Grid, DataHandleImpl, Data >::inlineData(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::maxLevel(), and Dune::ALUGridLoadBalanceDataHandle< Grid, DataHandleImpl, Data >::xtractData().
int Dune::ALU2dGrid< dim, dimworld, eltype >::maxLevel | ( | ) | const [inherited] |
Return maximum level defined in this grid. Levels are numbered 0 ... maxLevel with 0 the coarsest level.
HmeshType& Dune::ALU2dGrid< dim, dimworld, eltype >::mesh | ( | ) | const [inline, inherited] |
HmeshType& Dune::ALU2dGrid< dim, dimworld, eltype >::myGrid | ( | ) | [inherited] |
HmeshType& Dune::ALU2dGrid< dim, dimworld, eltype >::myGrid | ( | ) | const [inherited] |
static std::string Dune::ALUSimplexGrid< 2, dimw >::name | ( | ) | [inline, static] |
return name of the grid
bool Dune::ALU2dGrid< dim, dimworld, eltype >::nonConform | ( | ) | const [inline, protected, inherited] |
return true if grid allows hanging nodes on leaf level i.e. returns true for ALUSimplexGrid and returns false for ALUConformGrid
size_t Dune::ALU2dGrid< dim, dimworld, eltype >::numBoundarySegments | ( | ) | const [inline, inherited] |
return number of macro boundary segments
size_t Dune::Grid< dim, dimworld, ct, GridFamily >::numBoundarySegments | ( | ) | const [inline, inherited] |
returns the number of boundary segments within the macro grid
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, and Dune::UGGrid< dimworld >.
Referenced by Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::numBoundarySegments().
int Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype , ALU2dGridFamily< dim, dimworld, eltype > >::overlapSize | ( | int | codim | ) | const [inline, inherited] |
overlapSize is zero by default
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
int Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype , ALU2dGridFamily< dim, dimworld, eltype > >::overlapSize | ( | int | level, | |
int | codim | |||
) | const [inline, inherited] |
overlapSize is zero by default
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
void Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype , ALU2dGridFamily< dim, dimworld, eltype > >::postAdapt | ( | ) | [inline, inherited] |
clean up some markers
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
void Dune::ALU2dGrid< dim, dimworld, eltype >::postAdapt | ( | ) | [inherited] |
clear all entity new markers
bool Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype , ALU2dGridFamily< dim, dimworld, eltype > >::preAdapt | ( | ) | [inline, inherited] |
returns true, if at least one entity is marked for adaption
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
bool Dune::ALU2dGrid< dim, dimworld, eltype >::preAdapt | ( | ) | [inherited] |
returns if a least one entity was marked for coarsening
bool Dune::ALU2dGrid< dim, dimworld, eltype >::readGrid | ( | const std::string | filename, | |
alu2d_ctype & | time | |||
) | [inherited] |
read Grid from file filename and store time of mesh in time
bool Dune::ALU2dGrid< dim, dimworld, eltype >::refineGrid | ( | ) | [inherited] |
int Dune::ALU2dGrid< dim, dimworld, eltype >::size | ( | int | level, | |
int | cd | |||
) | const [inherited] |
number of grid entities per level and codim
int Dune::ALU2dGrid< dim, dimworld, eltype >::size | ( | GeometryType | type | ) | const [inherited] |
number of leaf entities per codim and geometry type in this process
int Dune::ALU2dGrid< dim, dimworld, eltype >::size | ( | int | level, | |
GeometryType | type | |||
) | const [inherited] |
number of entities per level, codim and geometry type in this process
int Dune::Grid< dim, dimworld, ct, GridFamily >::size | ( | int | level, | |
int | codim | |||
) | const [inline, inherited] |
Return number of grid entities of a given codim on a given level in this process.
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, and Dune::UGGrid< dimworld >.
Referenced by Dune::ALU2dGridFactory< ALUGrid, dimw >::createGrid(), and Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::size().
int Dune::Grid< dim, dimworld, ct, GridFamily >::size | ( | int | level, | |
GeometryType | type | |||
) | const [inline, inherited] |
Return number of entities per level and geometry type in this process.
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, and Dune::UGGrid< dimworld >.
int Dune::Grid< dim, dimworld, ct, GridFamily >::size | ( | int | codim | ) | const [inline, inherited] |
Return number of leaf entities of a given codim in this process.
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, and Dune::UGGrid< dimworld >.
int Dune::ALU2dGrid< dim, dimworld, eltype >::size | ( | int | codim | ) | const [inherited] |
number of leaf entities per codim in this process
int Dune::Grid< dim, dimworld, ct, GridFamily >::size | ( | GeometryType | type | ) | const [inline, inherited] |
Return number of leaf entities per geometry type in this process.
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, and Dune::UGGrid< dimworld >.
bool Dune::ALU2dGrid< dim, dimworld, eltype >::writeGrid | ( | const std::string | filename, | |
alu2d_ctype | time | |||
) | const [inherited] |
write Grid to file in specified FileFormatType
bool Dune::ALU2dGrid< dim, dimworld, eltype >::writeGrid_Ascii | ( | const std::string | filename, | |
alu2d_ctype | time | |||
) | const [inherited] |
bool Dune::ALU2dGrid< dim, dimworld, eltype >::writeGrid_Xdr | ( | const std::string | filename, | |
alu2d_ctype | time | |||
) | const [inherited] |
friend class ALU2dGridBoundaryProjection< ThisType > [friend, inherited] |
friend class ALU2dGridFactory [friend] |
friend class ALUGridBoundaryProjection< ThisType > [friend, inherited] |
friend class ALULocalGeometryStorage< const ThisType, GeometryObject, 2 > [friend, inherited] |
friend class ALULocalGeometryStorage< const ThisType, GeometryObject, 4 > [friend, inherited] |
friend class Conversion< ALU2dGrid< dim, dimworld, eltype >, HasHierarchicIndexSet > [friend, inherited] |
friend class Conversion< ALU2dGrid< dim, dimworld, eltype >, HasObjectStream > [friend, inherited] |
friend class Conversion< ALUSimplexGrid< dimension, dimensionworld >, HasHierarchicIndexSet > [friend] |
friend class Conversion< ALUSimplexGrid< dimension, dimensionworld >, HasObjectStream > [friend] |
friend class Conversion< const ALU2dGrid< dim, dimworld, eltype >, HasHierarchicIndexSet > [friend, inherited] |
friend class Conversion< const ALU2dGrid< dim, dimworld, eltype >, HasObjectStream > [friend, inherited] |
friend class Conversion< const ALUSimplexGrid< dimension, dimensionworld >, HasHierarchicIndexSet > [friend] |
friend class Conversion< const ALUSimplexGrid< dimension, dimensionworld >, HasObjectStream > [friend] |
friend class IntersectionIteratorWrapper< const ThisType, LeafIntersectionIteratorImp > [friend, inherited] |
friend class IntersectionIteratorWrapper< const ThisType, LevelIntersectionIteratorImp > [friend, inherited] |
friend class LeafIntersectionIteratorWrapper< const ThisType > [friend, inherited] |
friend class LevelIntersectionIteratorWrapper< const ThisType > [friend, inherited] |
const DuneBoundaryProjectionType* Dune::ALU2dGrid< dim, dimworld, eltype >::bndPrj_ [inherited] |
const DuneBoundaryProjectionVector* Dune::ALU2dGrid< dim, dimworld, eltype >::bndVec_ [inherited] |
int Dune::ALU2dGrid< dim, dimworld, eltype >::coarsenMarked_ [inherited] |
const ALU2DSPACE ElementType Dune::ALU2dGrid< dim, dimworld, eltype >::elementType [static, inherited] |
GridObjectFactoryType Dune::ALU2dGrid< dim, dimworld, eltype >::factory_ [inherited] |
std::vector< std::vector<GeometryType> > Dune::ALU2dGrid< dim, dimworld, eltype >::geomTypes_ [inherited] |
HierarchicIndexSet Dune::ALU2dGrid< dim, dimworld, eltype >::hIndexSet_ [inherited] |
the hierarchic index set
LeafIndexSetImp* Dune::ALU2dGrid< dim, dimworld, eltype >::leafIndexSet_ [mutable, inherited] |
the leaf index set
std::vector< LevelIndexSetImp * > Dune::ALU2dGrid< dim, dimworld, eltype >::levelIndexVec_ [mutable, inherited] |
the level index set ( default type )
LocalIdSetImp Dune::ALU2dGrid< dim, dimworld, eltype >::localIdSet_ [inherited] |
out global id set
bool Dune::ALU2dGrid< dim, dimworld, eltype >::lockPostAdapt_ [inherited] |
ALU2dGridMarkerVector Dune::ALU2dGrid< dim, dimworld, eltype >::marker_[MAXL] [mutable, protected, inherited] |
int Dune::ALU2dGrid< dim, dimworld, eltype >::maxLevel_ [inherited] |
int Dune::ALU2dGrid< dim, dimworld, eltype >::maxlevel_ [protected, inherited] |
HmeshType* Dune::ALU2dGrid< dim, dimworld, eltype >::mygrid_ [mutable, inherited] |
the real grid
const int Dune::ALU2dGrid< dim, dimworld, eltype >::nrOfHangingNodes_ [inherited] |
int Dune::ALU2dGrid< dim, dimworld, eltype >::refineMarked_ [inherited] |
SizeCacheType* Dune::ALU2dGrid< dim, dimworld, eltype >::sizeCache_ [inherited] |
ALUGridBoundaryProjectionType* Dune::ALU2dGrid< dim, dimworld, eltype >::vertexProjection_ [inherited] |
Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].