1#ifndef DUNE_ALUGRID_CAPABILITIES_HH
2#define DUNE_ALUGRID_CAPABILITIES_HH
4#include <dune/common/version.hh>
5#include <dune/geometry/type.hh>
6#include <dune/grid/common/capabilities.hh>
17 namespace Capabilities
26 template<
int dim,
int dimworld, ALUGr
idElementType eltype, ALUGr
idRefinementType refinementtype,
class Comm >
27 struct hasSingleGeometryType<
ALUGrid< dim, dimworld, eltype, refinementtype, Comm > >
29 static const bool v =
true;
30 static const unsigned int topologyId = (eltype ==
cube) ?
31 GeometryTypes::cube(dim).id() : GeometryTypes::simplex(dim).id();
37 template<
int dim,
int dimworld, ALUGr
idElementType eltype, ALUGr
idRefinementType refinementtype,
class Comm,
int cdim >
38 struct hasEntity<
ALUGrid< dim, dimworld, eltype, refinementtype, Comm >, cdim >
40 static const bool v =
true;
46 template<
int dim,
int dimworld, ALUGr
idElementType eltype, ALUGr
idRefinementType refinementtype,
class Comm,
int cdim >
47 struct hasEntityIterator<
ALUGrid< dim, dimworld, eltype, refinementtype, Comm >, cdim >
48 :
public hasEntity< ALUGrid< dim, dimworld, eltype, refinementtype, Comm >, cdim >
55 template<
int dim,
int dimworld, ALUGr
idElementType eltype, ALUGr
idRefinementType refinementtype,
int codim >
58 static const bool v =
false;
64 template<
int dim,
int dimworld, ALUGr
idElementType eltype, ALUGr
idRefinementType refinementtype,
int codim >
67 static const bool v =
true;
73 template<
int dim,
int dimworld, ALUGr
idElementType eltype, ALUGr
idRefinementType refinementtype,
class Comm >
74 struct isLevelwiseConforming<
ALUGrid< dim, dimworld, eltype, refinementtype, Comm > >
82 template<
int dim,
int dimworld, ALUGr
idElementType eltype, ALUGr
idRefinementType refinementtype,
class Comm >
83 struct isLeafwiseConforming<
ALUGrid< dim, dimworld, eltype, refinementtype, Comm > >
91 template<
int dim,
int dimworld, ALUGr
idElementType eltype, ALUGr
idRefinementType refinementtype,
class Comm >
92 struct hasBackupRestoreFacilities<
ALUGrid< dim, dimworld, eltype, refinementtype, Comm > >
94 static const bool v =
true;
Definition: alu3dinclude.hh:33
Definition: alu3dinclude.hh:63
@ cube
use only cube elements (i.e., quadrilaterals or hexahedra)
Definition: declaration.hh:19
@ nonconforming
use non-conforming (red) refinement
Definition: declaration.hh:26
@ conforming
use conforming bisection refinement
Definition: declaration.hh:25
type of class for specialization of serial ALUGrid (No_Comm as communicator)
Definition: declaration.hh:31
type of class for specialization of parallel ALUGrid (MPI_Comm as communicator)
Definition: declaration.hh:43