Loading...
Searching...
No Matches
pod.hpp
137 void setTargetErrorFields(const std::vector<std::string> &namesf, const std::vector<std::array<std::string,3>> &namevf);
197 void reconstructFields(const std::vector<std::vector<double>> &coeffMatrix, pod::PODField &recon);
303 const std::vector<std::array<std::size_t, 3>> &vectorIds, const std::vector<std::size_t> &podvectorIds);
304 void buildFields(const std::vector<std::vector<double>> &reconstructionCoeffs, pod::PODField &recon);
305 void buildFields(const std::vector<std::vector<double>> &reconstructionCoeffs, PiercedStorage<double> &fields,
307 const std::vector<std::array<std::size_t, 3>> &vectorIds, const std::vector<std::size_t> &podvectorIds,
315 const std::vector<std::array<std::size_t, 3>> &vectorIds, const std::vector<std::size_t> &podvectorIds,
The PODKernel class provides an interface to manage the mesh dependent members and functions of a POD...
Definition pod_kernel.hpp:41
void adaptionAlter(const std::vector< adaption::Info > &info)
Definition pod.cpp:2951
void fillListActiveIDs(const PiercedStorage< bool > &bfield)
Definition pod.cpp:1315
std::vector< std::array< std::string, 3 > > getVectorNames()
Definition pod.cpp:737
void setTargetErrorFields(const std::vector< std::string > &namesf, const std::vector< std::array< std::string, 3 > > &namevf)
Definition pod.cpp:367
void dumpField(const std::string &name, const pod::PODField &field) const
Definition pod.cpp:2432
const std::unordered_set< long int > & getListActiveIDs()
Definition pod.cpp:807
void setSensorMask(const PiercedStorage< bool > &mask, VolumeKernel *mesh=nullptr)
Definition pod.cpp:671
WriteMode
Output Write Mode of the POD object. It defines the amount of information written by the POD object.
Definition pod.hpp:67
std::vector< double > fieldsl2norm(pod::PODField &snap)
Definition pod.cpp:2576
void write(const pod::PODField &snap, std::string file_name) const
Definition pod.cpp:3079
void adaptionPrepare(const std::vector< adaption::Info > &info)
Definition pod.cpp:2973
void adaptionCleanUp(const std::vector< adaption::Info > &info)
Definition pod.cpp:2992
void readSnapshot(const pod::SnapshotFile &snap, pod::PODField &fieldr)
Definition pod.cpp:2149
void reconstructFields(pod::PODField &field, pod::PODField &recon)
Definition pod.cpp:1630
void addReconstructionSnapshot(const std::string &directory, const std::string &name)
Definition pod.cpp:282
void removeLeave1outSnapshot(const std::string &directory, const std::string &name)
Definition pod.cpp:243
std::vector< std::vector< double > > projectField(pod::PODField &field)
Definition pod.cpp:1763
MemoryMode
Memory Mode of the POD object. It defines the use of the memory resources.
Definition pod.hpp:49
void setSnapshots(const std::vector< pod::SnapshotFile > &database)
Definition pod.cpp:230
POD(POD &&other)=default
void setReconstructionMode(ReconstructionMode mode)
Definition pod.cpp:597
void setMesh(const std::string &directory, const std::string &name)
Definition pod.cpp:442
std::vector< std::vector< double > > getReconstructionCoeffs()
Definition pod.cpp:799
void addSnapshot(const std::string &directory, const std::string &name)
Definition pod.cpp:208
RunMode
Run Mode of the POD object. It defines if the POD basis has to be computed or restored.
Definition pod.hpp:58
Metafunction for generating a pierced storage.
Definition piercedStorage.hpp:146
The base class to be used to derive VTK streamers form.
Definition VTK.hpp:209
The VolumeKernel class provides an interface for defining volume patches.
Definition volume_kernel.hpp:33
The PODfield structure is used to store the fields inside POD classes.
Definition pod_common.hpp:66
The PODMode structure is used to store the modes inside pod classes.
Definition pod_common.hpp:216
The SnapFile structure is used to store the file names inside POD classes.
Definition pod_common.hpp:46
