File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -120,10 +120,13 @@ class ParaViewLogger
120120 double time,
121121 int rank)
122122 {
123- fields.at (fieldname)->SetFromTrueDofs (state);
124- pv.SetCycle (timestep);
125- pv.SetTime (time);
126- pv.Save ();
123+ if (fields.count (fieldname) > 0 )
124+ {
125+ fields.at (fieldname)->SetFromTrueDofs (state);
126+ pv.SetCycle (timestep);
127+ pv.SetTime (time);
128+ pv.Save ();
129+ }
127130 }
128131
129132 void registerField (const std::string &name, mfem::ParGridFunction &field)
Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ target_sources(miso
2727 ${MISO_PHYSICS_HEADERS}
2828)
2929
30- # get_target_property(MACH_PUBLIC_HEADERS mach PUBLIC_HEADER)
31- # set(MACH_PUBLIC_HEADERS ${MACH_PUBLIC_HEADERS } ${MACH_PHYSICS_HEADERS })
32- # set_target_properties(mach PROPERTIES
33- # PUBLIC_HEADER "${MACH_PUBLIC_HEADERS }"
30+ # get_target_property(MISO_PUBLIC_HEADERS miso PUBLIC_HEADER)
31+ # set(MISO_PUBLIC_HEADERS ${MISO_PUBLIC_HEADERS } ${MISO_PHYSICS_HEADERS })
32+ # set_target_properties(miso PROPERTIES
33+ # PUBLIC_HEADER "${MISO_PUBLIC_HEADERS }"
3434# )
3535
3636add_public_headers_to_target (miso "${MISO_PHYSICS_HEADERS} " )
Original file line number Diff line number Diff line change 22#define MISO_TEMP_INTEGRATOR
33
44#include " mfem.hpp"
5- // #include "solver.hpp"
65
76namespace miso
87{
You can’t perform that action at this time.
0 commit comments