dune-alugrid
3.0.0
|
#include <dune/alugrid/3d/gridfactory.hh>
Public Types | |
typedef BaseType::Grid | Grid |
typedef BaseType::MPICommunicatorType | MPICommunicatorType |
typedef Grid::ctype | ctype |
typedef DuneBoundaryProjection< dimensionworld > | DuneBoundaryProjectionType |
type of boundary projection class More... | |
typedef unsigned int | VertexId |
typedef unsigned int | GlobalIdType |
typedef ALUGridTransformation< ctype, dimensionworld > | Transformation |
typedef Transformation::WorldVector | WorldVector |
type of vector for world coordinates More... | |
typedef Transformation::WorldMatrix | WorldMatrix |
type of matrix from world coordinates to world coordinates More... | |
Public Member Functions | |
ReferenceGridFactory () | |
Default constructor. More... | |
virtual void | insertVertex (const VertexInputType &pos) |
insert a vertex into the coarse grid More... | |
void | insertVertex (const VertexInputType &pos, const VertexId globalId) |
insert a vertex into the coarse grid including the vertex's globally unique id More... | |
virtual void | insertElement (const GeometryType &geometry, const std::vector< VertexId > &vertices) |
insert an element into the coarse grid More... | |
virtual void | insertBoundary (const GeometryType &geometry, const std::vector< VertexId > &faceVertices, int boundaryId=1) |
insert a boundary element into the coarse grid More... | |
virtual void | insertBoundary (int element, int face, int boundaryId=1) |
mark a face as boundary (and assign a boundary id) More... | |
void | insertProcessBorder (int element, int face) |
virtual void | insertProcessBorder (const std::vector< VertexId > &vertices) |
virtual void | insertBoundaryProjection (const GeometryType &type, const std::vector< VertexId > &vertices, const DuneBoundaryProjectionType *projection) |
insert a boundary projection into the macro grid More... | |
virtual void | insertBoundaryProjection (const DuneBoundaryProjectionType &bndProjection) |
insert a boundary projection object, (a copy is made) More... | |
virtual void | insertBoundarySegment (const std::vector< VertexId > &vertices) |
insert a boundary segment into the macro grid More... | |
virtual void | insertBoundarySegment (const std::vector< VertexId > &vertices, const shared_ptr< BoundarySegment< dimension, dimensionworld > > &boundarySegment) |
insert a shaped boundary segment into the macro grid More... | |
void | insertFaceTransformation (const WorldMatrix &matrix, const WorldVector &shift) |
add a face transformation (for periodic identification) More... | |
Grid * | createGrid () |
finalize the grid creation and hand over the grid More... | |
Grid * | createGrid (const bool addMissingBoundaries, const std::string dgfName="") |
Grid * | createGrid (const bool addMissingBoundaries, bool temporary, const std::string dgfName="") |
virtual unsigned int | insertionIndex (const typename Codim< 0 >::Entity &entity) const |
virtual unsigned int | insertionIndex (const typename Codim< dimension >::Entity &entity) const |
virtual unsigned int | insertionIndex (const typename Grid::LeafIntersection &intersection) const |
virtual bool | wasInserted (const typename Grid::LeafIntersection &intersection) const |
const std::vector< unsigned int > & | ordering () const |
Static Public Attributes | |
static const ALU3dGridElementType | elementType |
static const unsigned int | dimension |
static const unsigned int | dimensionworld |
|
inherited |
|
inherited |
type of boundary projection class
|
inherited |
typedef BaseType::Grid Dune::ReferenceGridFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > >::Grid |
typedef BaseType::MPICommunicatorType Dune::ReferenceGridFactory< ALUGrid< dim, dimw, eltype, refinementtype, Comm > >::MPICommunicatorType |
|
inherited |
|
inherited |
|
inherited |
type of matrix from world coordinates to world coordinates
|
inherited |
type of vector for world coordinates
|
inline |
Default constructor.
|
inherited |
finalize the grid creation and hand over the grid
The caller takes responsibility for deleing the grid.
|
inherited |
|
inherited |
|
virtualinherited |
insert a boundary element into the coarse grid
[in] | geometry | GeometryType of the boundary element |
[in] | faceVertices | vertices of the boundary element |
[in] | boundaryId | boundary identifier of the boundary element, the default value is 1 |
|
virtualinherited |
mark a face as boundary (and assign a boundary id)
[in] | element | index of the element, the face belongs to |
[in] | face | local number of the face within the element |
[in] | boundaryId | boundary id to assign to the face, the default value is 1 |
|
virtualinherited |
insert a boundary projection object, (a copy is made)
[in] | bndProjection | instance of an ALUGridBoundaryProjection projecting vertices to a curved |
|
virtualinherited |
insert a boundary projection into the macro grid
[in] | type | geometry type of boundary face |
[in] | vertices | vertices of the boundary face |
[in] | projection | boundary projection |
|
inlinevirtualinherited |
insert a boundary segment into the macro grid
[in] | vertices | vertex indices of boundary face |
|
inlinevirtualinherited |
insert a shaped boundary segment into the macro grid
[in] | vertices | vertex indices of boundary face |
[in] | boundarySegment | geometric realization of shaped boundary |
|
virtualinherited |
insert an element into the coarse grid
[in] | geometry | GeometryType of the new element |
[in] | vertices | vertices of the new element |
|
inherited |
add a face transformation (for periodic identification)
A face transformation is an affine mapping T from world coordinates to world coordinates. The grid factory then glues two faces f and g if T( f ) = g or T( g ) = f.
[in] | matrix | matrix describing the linear part of T |
[in] | shift | vector describing T( 0 ) |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlineinherited |
|
virtualinherited |
insert a vertex into the coarse grid
[in] | pos | position of the vertex |
|
inherited |
insert a vertex into the coarse grid including the vertex's globally unique id
[in] | pos | position of the vertex |
[in] | globalId | globally unique id for vertex |
|
inlineinherited |
|
inlinevirtualinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |