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 >
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
-
dim dimension of the grid (2 or 3) dimworld dimension of the surrounding space (dim <= dimworld <=3) elType type of elements (Dune::simplex or Dune::cube) refineType defaults to Dune::nonconforming, Dune::conforming is deprecated Comm type 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 >
|
inline |
constructor for creating ALUGrid from given macro grid file
- Parameters
-
macroName filename for macro grid in ALUGrid tetra format mpiComm MPI Communicator (when HAVE_MPI == 1 then mpiComm is of type MPI_Comm and the default value is MPI_COMM_WORLD) 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 verb Whether to write a notice about grid creation to stdout.
◆ ALUGrid() [2/2]
template<int dim, int dimworld, ALUGridElementType elType, ALUGridRefinementType refineType, class Comm >
|
inline |
constructor called from ALUGridFactory for creating ALUConformGrid from given macro grid file
- Parameters
-
mpiComm MPI Communicator (when HAVE_MPI == 1 then mpiComm is of type MPI_Comm) bndProject global boundary projection pointer bndVector pointer to vector holding boundary projection for each boundary segment
- Note
- ALUGrid takes ownership of this pointer and will delete it in the desctructor
- Parameters
-
macroName filename from which ALUGrid is being generated verb Whether to write a notice about grid creation to stdout.
The documentation for this class was generated from the following file:
- dune/alugrid/3d/alugrid.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 20, 23:31, 2024)