ThunderEgg
1.0.0
|
This decorates a PatchInfo object with a IfaceInfo object for each side of the patch. More...
#include <PatchIfaceInfo.h>
Public Member Functions | |
PatchIfaceInfo ()=default | |
Construct a new PatchIfaceInfo object. | |
PatchIfaceInfo (const PatchInfo< D > &pinfo) | |
Construct a new PatchIfaceInfo object. More... | |
void | setIfaceInfo (Side< D > s, std::shared_ptr< IfaceInfo< D >> info) |
Set the IfaceInfo object on a given side of the patch. More... | |
std::shared_ptr< IfaceInfo< D > > | getIfaceInfo (Side< D > s) |
Get the IfaceInfo object on a given side of the patch. More... | |
std::shared_ptr< const IfaceInfo< D > > | getIfaceInfo (Side< D > s) const |
Get the IfaceInfo object on a given side of the patch. More... | |
std::shared_ptr< NormalIfaceInfo< D > > | getNormalIfaceInfo (Side< D > s) |
Get the NormalIfaceInfo object on a given side of the patch. More... | |
std::shared_ptr< const NormalIfaceInfo< D > > | getNormalIfaceInfo (Side< D > s) const |
Get the NormalIfaceInfo object on a given side of the patch. More... | |
std::shared_ptr< CoarseIfaceInfo< D > > | getCoarseIfaceInfo (Side< D > s) |
Get the CoarseIfaceInfo object on a given side of the patch. More... | |
std::shared_ptr< const CoarseIfaceInfo< D > > | getCoarseIfaceInfo (Side< D > s) const |
Get the CoarseIfaceInfo object on a given side of the patch. More... | |
std::shared_ptr< FineIfaceInfo< D > > | getFineIfaceInfo (Side< D > s) |
Get the FineIfaceInfo object on a given side of the patch. More... | |
std::shared_ptr< const FineIfaceInfo< D > > | getFineIfaceInfo (Side< D > s) const |
Get the FineIfaceInfo object on a given side of the patch. More... | |
int | serialize (char *buffer) const |
Serialize object into buffer. More... | |
int | deserialize (char *buffer) |
Deserialize an object. More... | |
Public Member Functions inherited from ThunderEgg::Serializable | |
virtual | ~Serializable ()=default |
Destroy the Serializable object. | |
Public Attributes | |
PatchInfo< D > | pinfo |
associated PatchInfo object | |
std::array< std::shared_ptr< IfaceInfo< D > >, Side< D >::number_of > | iface_info |
Array of IfaceInfo objects. | |
This decorates a PatchInfo object with a IfaceInfo object for each side of the patch.
D | the number of Cartesian dimensions in a patch |
|
inlineexplicit |
Construct a new PatchIfaceInfo object.
Fills in information from the given PatchInfo object.
|
inlinevirtual |
Deserialize an object.
buffer | the buffer |
Implements ThunderEgg::Serializable.
|
inline |
Get the CoarseIfaceInfo object on a given side of the patch.
s | the side of the object |
|
inline |
Get the CoarseIfaceInfo object on a given side of the patch.
s | the side of the object |
|
inline |
Get the FineIfaceInfo object on a given side of the patch.
s | the side of the object |
|
inline |
Get the FineIfaceInfo object on a given side of the patch.
s | the side of the object |
|
inline |
|
inline |
|
inline |
Get the NormalIfaceInfo object on a given side of the patch.
s | the side of the object |
|
inline |
Get the NormalIfaceInfo object on a given side of the patch.
s | the side of the object |
|
inlinevirtual |
Serialize object into buffer.
buffer | the buffer. Can be set to nullptr if you just want the size |
Implements ThunderEgg::Serializable.
|
inline |