Dune Core Modules (2.9.0)

Dune::ALUGrid< dim, dimworld, elType, refineType, Comm > Class Template Reference

unstructured parallel implementation of the DUNE grid interface More...

Public Types

typedef BaseType::ALUGridVertexProjectionPairType ALUGridVertexProjectionPairType
 type of boundary projection
 

Public Member Functions

 ALUGrid (const std::string macroName, const MPICommunicatorType mpiComm=BaseType::defaultCommunicator(), const ALUGridVertexProjectionPairType &bndPrj=ALUGridVertexProjectionPairType(), const bool verb=true)
 constructor for creating ALUGrid from given macro grid file More...
 
 ALUGrid (const MPICommunicatorType mpiComm, const ALUGridVertexProjectionPairType &bndPrj, const std::string macroName, const bool verb=true)
 constructor called from ALUGridFactory for creating ALUConformGrid from given macro grid file More...
 
 ALUGrid (const MPICommunicatorType mpiComm=BaseType::defaultCommunicator())
 constructor creating empty grid, empty string creates empty grid
 

Detailed Description

template<int dim, int dimworld, ALUGridElementType elType, ALUGridRefinementType refineType, class Comm>
class Dune::ALUGrid< dim, dimworld, elType, refineType, Comm >

unstructured parallel implementation of the DUNE grid interface

ALUGrid implements the DUNE grid interface for 2D quadrilateral and 3D hexahedral as well as 2D triangular and 3D tetrahedral meshes. This grid can be locally adapted (non-conforming and conforming bisection) and used in parallel computations using dynamic load balancing.

Template Parameters
dimdimension of the grid (2 or 3)
dimworlddimension of the surrounding space (dim <= dimworld <=3)
elTypetype of elements (Dune::simplex or Dune::cube)
refineTypedefaults to Dune::nonconforming, Dune::conforming is deprecated
Commtype of communicator (Dune::ALUGridMPIComm or Dune::ALUGridNoComm)
Note
For cube elements, only nonconforming refinement is available.
The template parameter Comm defaults to ALUGridMPIComm, if MPI is available. Otherwise it defaults to ALUGridNoComm.

Constructor & Destructor Documentation

◆ ALUGrid() [1/2]

template<int dim, int dimworld, ALUGridElementType elType, ALUGridRefinementType refineType, class Comm >
Dune::ALUGrid< dim, dimworld, elType, refineType, Comm >::ALUGrid ( const std::string  macroName,
const MPICommunicatorType  mpiComm = BaseType::defaultCommunicator(),
const ALUGridVertexProjectionPairType bndPrj = ALUGridVertexProjectionPairType(),
const bool  verb = true 
)
inline

constructor for creating ALUGrid from given macro grid file

Parameters
macroNamefilename for macro grid in ALUGrid tetra format
mpiCommMPI Communicator (when HAVE_MPI == 1 then mpiComm is of type MPI_Comm and the default value is MPI_COMM_WORLD)
bndProjectglobal boundary projection pointer
bndVectorpointer to vector holding boundary projection for each boundary segment. ALUGrid takes ownership of this pointer and will delete it in the desctructor
verbWhether to write a notice about grid creation to stdout.

◆ ALUGrid() [2/2]

template<int dim, int dimworld, ALUGridElementType elType, ALUGridRefinementType refineType, class Comm >
Dune::ALUGrid< dim, dimworld, elType, refineType, Comm >::ALUGrid ( const MPICommunicatorType  mpiComm,
const ALUGridVertexProjectionPairType bndPrj,
const std::string  macroName,
const bool  verb = true 
)
inline

constructor called from ALUGridFactory for creating ALUConformGrid from given macro grid file

Parameters
mpiCommMPI Communicator (when HAVE_MPI == 1 then mpiComm is of type MPI_Comm)
bndProjectglobal boundary projection pointer
bndVectorpointer to vector holding boundary projection for each boundary segment
Note
ALUGrid takes ownership of this pointer and will delete it in the desctructor
Parameters
macroNamefilename from which ALUGrid is being generated
verbWhether to write a notice about grid creation to stdout.

The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 20, 23:31, 2024)