43using namespace bitpit;
54 for (
int i=0; i<10; i++)
55 pod.
addSnapshot(
"./data",
"test."+std::to_string(i));
71 for (
int i=0; i<5; i++)
78 std::vector<std::string> namesf {
"rho",
"rho_e"};
79 std::vector<std::array<std::string,3>> namevf {};
93int main(
int argc,
char *argv[])
96 MPI_Init(&argc,&argv);
102 }
catch (
const std::exception &exception) {
The POD (Proper Orthogonal Decomposition) class provides an interface for defining POD object.
void setErrorThreshold(double threshold)
void setTargetErrorFields(std::vector< std::string > &namesf, std::vector< std::array< std::string, 3 > > &namevf)
void setMeshType(MeshType type)
void setStaticMesh(bool flag)
void setMemoryMode(MemoryMode mode)
void setDirectory(const std::string &directory)
void evalErrorBoundingBox()
void setUseMean(bool flag)
void removeLeave1outSnapshot(const std::string &directory, const std::string &name)
void setWriteMode(WriteMode mode)
void setEnergyLevel(double energy)
void setName(const std::string &name)
void addSnapshot(const std::string &directory, const std::string &name)
Logger & cout(log::Level defaultSeverity, log::Visibility defaultVisibility)