|
dune-grid 2.12-git
|
Loading...
Searching...
No Matches
boundaryprojection.hh
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright © DUNE Project contributors, see file LICENSE.md in module root
138 typedef MultiLinearGeometry<typename Base::CoordinateType::value_type,dim-1,dimworld> FaceMapping;
Base class for grid boundary segments of arbitrary geometry.
Describes the parallel communication interface class for MessageBuffers and DataHandles.
void restore()
int size() const
size_type dim() const
virtual void operator()()=0
#define DUNE_THROW(E,...)
const GlobalIndex & global() const
Include standard header files.
static constexpr int dimension
Dune::GeometryType type() const
GlobalCoordinate corner(int i) const
int corners() const
LocalCoordinate local(const GlobalCoordinate &globalCoord) const
Interface class for vertex projection at the boundary.
Definition boundaryprojection.hh:32
DuneBoundaryProjection< dimworld > ThisType
Definition boundaryprojection.hh:33
virtual void backup(ObjectStreamType &buffer) const
write DuneBoundaryProjection's data to stream buffer
Definition boundaryprojection.hh:51
static std::unique_ptr< ThisType > restoreFromBuffer(MessageBufferIF< BufferImp > &buffer)
Definition boundaryprojection.hh:84
void toBuffer(BufferImp &buffer) const
Definition boundaryprojection.hh:57
BaseType::ObjectStreamType ObjectStreamType
Definition boundaryprojection.hh:35
virtual ~DuneBoundaryProjection()
destructor
Definition boundaryprojection.hh:43
static std::unique_ptr< ThisType > restoreFromBuffer(BufferImp &buffer)
Definition boundaryprojection.hh:77
FieldVector< double, dimworld > CoordinateType
type of coordinate vector
Definition boundaryprojection.hh:41
void toBuffer(MessageBufferIF< BufferImp > &buffer) const
Definition boundaryprojection.hh:64
BoundarySegmentBackupRestore< DuneBoundaryProjection< dimworld > > BaseType
Definition boundaryprojection.hh:34
Definition boundaryprojection.hh:102
BaseType::CoordinateType CoordinateType
type of coordinate vector
Definition boundaryprojection.hh:108
BoundaryProjectionWrapper(const BaseType &proje)
Definition boundaryprojection.hh:111
DuneBoundaryProjection< dimworld > BaseType
Definition boundaryprojection.hh:104
~BoundaryProjectionWrapper()
destructor
Definition boundaryprojection.hh:116
Definition boundaryprojection.hh:132
void backup(ObjectStreamType &buffer) const
write DuneBoundaryProjection's data to stream buffer
Definition boundaryprojection.hh:175
const BoundarySegment & boundarySegment() const
Definition boundaryprojection.hh:170
BoundarySegmentWrapper(const GeometryType &type, const std::vector< CoordinateType > &vertices, const std::shared_ptr< BoundarySegment > &boundarySegment)
Definition boundaryprojection.hh:152
BoundarySegmentWrapper(ObjectStreamType &buffer)
Definition boundaryprojection.hh:159
Dune::BoundarySegment< dim, dimworld > BoundarySegment
Definition boundaryprojection.hh:142
static void registerFactory()
Definition boundaryprojection.hh:196
FaceMapping readFaceMapping(ObjectStreamType &buffer)
Definition boundaryprojection.hh:211
Base::CoordinateType CoordinateType
Definition boundaryprojection.hh:141
Definition boundaryprojection.hh:239
FieldVector< double, dimworld > CoordinateType
type of coordinate vector
Definition boundaryprojection.hh:241
CircleBoundaryProjection(const double radius=std::sqrt((double) dimworld))
constructor taking radius of circle (default = sqrt( dimworld ) )
Definition boundaryprojection.hh:244
virtual ~CircleBoundaryProjection()
destructor
Definition boundaryprojection.hh:248
const double radius_
radius of circ
Definition boundaryprojection.hh:263
Base class for classes implementing geometries of boundary segments.
Definition boundarysegment.hh:94
Definition boundarysegment.hh:41
static std::unique_ptr< BoundarySegment > restore(ObjectStreamType &in)
create an object of BoundarySegment type from a previously registered factory linked to key.
Definition boundarysegment.hh:59
static int registerFactory()
Definition boundarysegment.hh:70
Communication message buffer interface. This class describes the interface for reading and writing da...
Definition datahandleif.hh:33
void write(const T &val)
just wraps the call of the internal buffer method write which writes the data of type T from the buff...
Definition datahandleif.hh:45
void read(T &val)
just wraps the call of the internal buffer method read which reads the data of type T from the buffer...
Definition datahandleif.hh:59
T read(T... args)
T sqrt(T... args)
T str(T... args)
T write(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8