43using namespace bitpit;
54 for (
int i=0; i<10; i++)
55 pod.addSnapshot(
"./data",
"test."+std::to_string(i));
59 pod.setStaticMesh(
true);
60 pod.setUseMean(
false);
63 pod.setEnergyLevel(99);
65 pod.setDirectory(
"pod");
66 pod.setName(
"pod.test.solver");
71 for (
int i=0; i<5; i++)
72 pod.removeLeave1outSnapshot(
"./data",
"test."+std::to_string(2*i));
78 std::vector<std::string> namesf {
"rho",
"rho_e"};
79 std::vector<std::array<std::string,3>> namevf {};
80 pod.setTargetErrorFields(namesf,namevf);
83 pod.setErrorThreshold(0.001);
86 pod.evalErrorBoundingBox();
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.
Logger & cout(log::Level defaultSeverity, log::Visibility defaultVisibility)
The namespace 'pod' contains structures for working with the POD class.