25#ifndef __BITPIT_POD_COMMON_HPP__
26#define __BITPIT_POD_COMMON_HPP__
28#include "bitpit_containers.hpp"
29#include "bitpit_patchkernel.hpp"
53 SnapshotFile(
const std::string &_directory = std::string(),
const std::string &_name = std::string())
69 std::unique_ptr<PiercedStorage<bool>>
mask;
70 std::unique_ptr<pod::ScalarStorage>
scalar;
71 std::unique_ptr<pod::VectorStorage>
vector;
167 mask->setDynamicKernel(
lkernel, PiercedSyncMaster::SyncMode::SYNC_MODE_JOURNALED);
168 scalar->setDynamicKernel(
lkernel, PiercedSyncMaster::SyncMode::SYNC_MODE_JOURNALED);
169 vector->setDynamicKernel(
lkernel, PiercedSyncMaster::SyncMode::SYNC_MODE_JOURNALED);
217 std::unique_ptr<pod::ScalarStorage>
scalar;
218 std::unique_ptr<pod::VectorStorage>
vector;
Metafunction for generating a pierced kernel.
Metafunction for generating a pierced storage.
The VolumeKernel class provides an interface for defining volume patches.
PiercedStorage< std::array< double, 3 > > VectorStorage
PiercedStorage< double > ScalarStorage
The PODfield structure is used to store the fields inside POD classes.
void setStaticKernel(const PiercedKernel< long > *lkernel)
std::unique_ptr< pod::ScalarStorage > scalar
PODField & operator=(PODField other)
PODField(int nsf, int nvf, VolumeKernel *lmesh=nullptr, const PiercedKernel< long > *lkernel=nullptr)
std::unique_ptr< PiercedStorage< bool > > mask
void swap(PODField &other)
std::unique_ptr< pod::VectorStorage > vector
void setMesh(const std::shared_ptr< VolumeKernel > &lmesh)
void setMesh(VolumeKernel *lmesh)
PODField(PODField &&field)=default
PODField(const PODField &field)
void setDynamicKernel(PiercedKernel< long > *lkernel)
std::shared_ptr< VolumeKernel > meshStorage
The PODMode structure is used to store the modes inside pod classes.
std::unique_ptr< pod::VectorStorage > vector
PODMode(int nsf, int nvf, const PiercedKernel< long > *lkernel=nullptr)
std::unique_ptr< pod::ScalarStorage > scalar
The SnapFile structure is used to store the file names inside POD classes.
SnapshotFile(const std::string &_directory=std::string(), const std::string &_name=std::string())