|
dune-grid 2.12-git
|
Loading...
Searching...
No Matches
dgfyasp.hh
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright © DUNE Project contributors, see file LICENSE.md in module root
253 DUNE_THROW( DGFException, "YaspGrid can only handle shifts as periodic face transformations." );
276 grid_ = new YaspGrid< dim , EquidistantCoordinates<ctype, dim> >( lang, anz, per, grdParam.overlap(), comm );
445 DUNE_THROW( DGFException, "YaspGrid can only handle shifts as periodic face transformations." );
492 throw std::invalid_argument( "Tensor product coordinates for YaspGrid are currently not supported via the DGFGridFactory" );
size_type dim() const
#define DUNE_THROW(E,...)
DWarnType dwarn
constexpr T abs(T t)
Include standard header files.
MPI_Comm MPICommunicator
static MPICommunicator getCommunicator()
Definition dgfgridfactory.hh:38
MPIHelper::MPICommunicator MPICommunicatorType
Definition dgfgridfactory.hh:41
bool haveBoundaryParameters() const
Definition dgfgridfactory.hh:151
Intersection of a mesh entity of codimension 0 ("element") with a "neighboring" element or with the d...
Definition common/intersection.hh:164
Geometry geometry() const
geometrical information about the intersection in global coordinates.
Definition common/intersection.hh:328
int indexInInside() const
Local index of codim 1 entity in the inside() entity where intersection is contained in.
Definition common/intersection.hh:351
GlobalCoordinate corner(int i) const
Obtain a corner of the geometry.
Definition common/geometry.hh:219
int corners() const
Return the number of corners of the reference element.
Definition common/geometry.hh:205
static constexpr int dimension
The dimension of the grid.
Definition common/grid.hh:405
Definition boundarydom.hh:23
Definition boundarydom.hh:195
Some simple static information for a given GridType.
Definition io/file/dgfparser/dgfparser.hh:56
YaspGridParameterBlock(std::istream &in)
constructor taking istream
Definition dgfyasp.hh:46
int overlap() const
get dimension of world found in block
Definition dgfyasp.hh:74
DGFGridFactory(std::istream &input, MPICommunicatorType comm=MPIHelper::getCommunicator())
Definition dgfyasp.hh:98
DGFGridFactory(const std::string &filename, MPICommunicatorType comm=MPIHelper::getCommunicator())
Definition dgfyasp.hh:104
bool wasInserted(const Intersection &intersection) const
Definition dgfyasp.hh:124
int numParameters() const
Definition dgfyasp.hh:147
std::vector< double > & parameter(const Entity &)
Definition dgfyasp.hh:177
MPIHelper::MPICommunicator MPICommunicatorType
Definition dgfyasp.hh:91
const DGFBoundaryParameter::type & boundaryParameter(const Intersection< GG, II > &intersection) const
Definition dgfyasp.hh:160
~DGFGridFactory()
Definition dgfyasp.hh:113
bool haveBoundaryParameters() const
Definition dgfyasp.hh:153
Grid * grid() const
Definition dgfyasp.hh:118
YaspGrid< dim, EquidistantCoordinates< ctype, dim > > Grid
Definition dgfyasp.hh:89
int boundaryId(const Intersection &intersection) const
Definition dgfyasp.hh:130
const DGFBoundaryParameter::type & boundaryParameter(const Intersection< GG, II > &intersection) const
Definition dgfyasp.hh:356
DGFGridFactory(const std::string &filename, MPICommunicatorType comm=MPIHelper::getCommunicator())
Definition dgfyasp.hh:302
Grid * grid() const
Definition dgfyasp.hh:314
int boundaryId(const Intersection &intersection) const
Definition dgfyasp.hh:326
YaspGrid< dim, EquidistantOffsetCoordinates< ctype, dim > > Grid
Definition dgfyasp.hh:287
bool wasInserted(const Intersection &intersection) const
Definition dgfyasp.hh:320
std::vector< double > & parameter(const Entity &entity)
Definition dgfyasp.hh:373
bool haveBoundaryParameters() const
Definition dgfyasp.hh:349
MPIHelper::MPICommunicator MPICommunicatorType
Definition dgfyasp.hh:289
DGFGridFactory(std::istream &input, MPICommunicatorType comm=MPIHelper::getCommunicator())
Definition dgfyasp.hh:296
Dune::DGFGridFactory< YaspGrid< dim, EquidistantOffsetCoordinates< ctype, dim > > >::~DGFGridFactory
~DGFGridFactory()
Definition dgfyasp.hh:309
int numParameters() const
Definition dgfyasp.hh:343
Grid * grid()
Definition dgfyasp.hh:490
DGFGridFactory(const In &)
Definition dgfyasp.hh:489
static double refineWeight()
Definition dgfyasp.hh:499
static int refineStepsForHalf()
Definition dgfyasp.hh:498
static const type & defaultValue()
default constructor
Definition parser.hh:28
Container for equidistant coordinates in a YaspGrid.
Definition coordinates.hh:29
Container for equidistant coordinates in a YaspGrid with non-trivial origin.
Definition coordinates.hh:131
T c_str(T... args)
T endl(T... args)
T pow(T... args)
T resize(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8