|
dune-grid 2.9.1
|
Loading...
Searching...
No Matches
albertagrid/structuredgridfactory.hh
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (C) DUNE Project contributors, see file LICENSE.md in module root
size_type dim() const
std::ptrdiff_t index() const
#define DUNE_THROW(E, m)
Implements a multiindex with arbitrary dimension and fixed index ranges This is used by various facto...
Include standard header files.
int rank() const
Construct structured cube and simplex grids in unstructured grid managers.
Definition utility/structuredgridfactory.hh:31
static void createSimplexGrid(GridFactory< GridType > &factory, const FieldVector< ctype, dimworld > &lowerLeft, const FieldVector< ctype, dimworld > &upperRight, const std::array< unsigned int, dim > &elements)
insert structured simplex grid into grid factory
Definition utility/structuredgridfactory.hh:181
static std::array< unsigned int, dim > computeUnitOffsets(const std::array< unsigned int, dim > &vertices)
Definition albertagrid/structuredgridfactory.hh:110
static void createCubeGrid(GridFactory< GridType > &factory, const FieldVector< ctype, dimworld > &lowerLeft, const FieldVector< ctype, dimworld > &upperRight, const std::array< unsigned int, dim > &elements)
Definition albertagrid/structuredgridfactory.hh:206
typename GridType::ctype ctype
Definition albertagrid/structuredgridfactory.hh:55
static void insertVertices(GridFactory< GridType > &factory, const FieldVector< ctype, dimworld > &lowerLeft, const FieldVector< ctype, dimworld > &upperRight, const std::array< unsigned int, dim > &vertices)
Definition albertagrid/structuredgridfactory.hh:82
static std::unique_ptr< GridType > createCubeGrid(const FieldVector< ctype, dimworld > &lowerLeft, const FieldVector< ctype, dimworld > &upperRight, const std::array< unsigned int, dim > &elements)
Definition albertagrid/structuredgridfactory.hh:215
static void insertElement(GridFactory< GridType > &factory, const GeometryType &type, const std::vector< unsigned int > &vertices)
Definition albertagrid/structuredgridfactory.hh:59
static void createSimplexGrid(GridFactory< GridType > &factory, const FieldVector< ctype, dimworld > &lowerLeft, const FieldVector< ctype, dimworld > &upperRight, const std::array< unsigned int, dim > &elements)
Create a structured simplex grid for AlbertaGrid.
Definition albertagrid/structuredgridfactory.hh:134
static std::unique_ptr< GridType > createSimplexGrid(const FieldVector< ctype, dimworld > &lowerLeft, const FieldVector< ctype, dimworld > &upperRight, const std::array< unsigned int, dim > &elements)
Create a structured simplex grid for AlbertaGrid.
Definition albertagrid/structuredgridfactory.hh:195
Communication comm() const
Return the Communication used by the grid factory.
Definition common/gridfactory.hh:297
Provide a generic factory class for unstructured grids.
Definition common/gridfactory.hh:314
virtual void insertElement(const GeometryType &type, const std::vector< unsigned int > &vertices)
Insert an element into the coarse grid.
Definition common/gridfactory.hh:346
virtual void insertVertex(const FieldVector< ctype, dimworld > &pos)
Insert a vertex into the coarse grid.
Definition common/gridfactory.hh:335
virtual std::unique_ptr< GridType > createGrid()
Finalize grid creation and hand over the grid.
Definition common/gridfactory.hh:372
Definition multiindex.hh:19
Provide a generic factory class for unstructured grids.
A class to construct structured cube and simplex grids using the grid factory.
T make_tuple(T... args)
T size(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8