Go to the source code of this file.
◆ load() [1/4]
149 CEREAL_NVP( radius ));
double Mdouble
Definition: GeneralDefine.h:34
◆ load() [2/4]
131 Vec3D position, normal;
132 ar( CEREAL_NVP( position ),
133 CEREAL_NVP( normal ));
virtual void setPosition(const Vec3D &position)
Sets the position of this BaseInteractable.
Definition: BaseInteractable.h:239
void setNormal(Vec3D normal)
Changes the normal of the InfiniteWall.
Definition: InfiniteWall.cc:127
References InfiniteWall::setNormal(), and BaseInteractable::setPosition().
◆ load() [3/4]
106 ar(cereal::make_nvp(
"type", type));
108 if (type ==
"InfiniteWall")
117 else if (type ==
"InfiniteWallWithHole")
121 }
else if (type ==
"CylindricalWall") {
LL< Log::INFO > INFO
Info log level.
Definition: Logger.cc:55
LL< Log::DEBUG > DEBUG
Debug information.
Definition: Logger.cc:58
Logger< MERCURYDPM_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here.
void load(Archive &ar, WallHandler &w)
Definition: Walls.h:65
Definition: CylindricalWall.h:38
Definition: InfiniteWallWithHole.h:38
A infinite wall fills the half-space {point: (position_-point)*normal_<=0}.
Definition: InfiniteWall.h:48
Base * data
Definition: Walls.h:52
References SerializationWrappers::Wrapper< Base >::data, DEBUG, INFO, load(), and logger.
◆ load() [4/4]
◆ save() [1/4]
◆ save() [2/4]
◆ save() [3/4]
85 ar( cereal::make_nvp(
"type",
"InfiniteWall"));
92 ar( cereal::make_nvp(
"type",
"InfiniteWallWithHole"));
95 ar( cereal::make_nvp(
"type",
"CylindricalWall"));
void save(Archive &ar, const WallHandler &w)
Definition: Walls.h:57
References SerializationWrappers::Wrapper< Base >::data, and save().
◆ save() [4/4]
59 for (
const auto& wall
UNUSED : w ) {
#define UNUSED
Definition: GeneralDefine.h:39
virtual unsigned int getNumberOfObjects() const
Gets the number of real Object in this BaseHandler. (i.e. no mpi or periodic particles)
Definition: BaseHandler.h:648
References BaseHandler< T >::getNumberOfObjects(), and UNUSED.
Referenced by save().