|
Smith
0.1
Smith is an implicit thermal structural mechanics simulation code.
|
Class which interactions with ParaViewDataCollection to write arbitrary field results to disk. This allows output independent of a particular BasePhysics. More...
#include <paraview_writer.hpp>
Public Types | |
| using | StateVecs = std::vector< std::shared_ptr< FiniteElementState > > |
| using | |
Public Member Functions | |
| ParaviewWriter (std::unique_ptr< mfem::ParaViewDataCollection > pv_, const StateVecs &states_, const StateVecs &duals_) | |
| void | write (size_t step, double time, const std::vector< const FiniteElementState * > ¤t_states) |
| write paraview output from vector of finite element states. states must be passed in with a consistent order as how the ParaviewWriter was constructed (consistent order of spaces) | |
| void | write (size_t step, double time, const std::vector< const FiniteElementDual * > ¤t_duals) |
| write paraview output from vector of finite element duals. duals must be passed in with a consistent order as how the ParaviewWriter was constructed (consistent order of spaces) | |
| void | write (int step, double time, const std::vector< FieldState > ¤t_fields) |
| write paraview output from vector of FieldState. These must be passed in with a consistent order as how the ParaviewWriter was constructed (consistent order of spaces). Both the field, and its dual/reaction will be written. | |
| void | write (size_t step, double time, const std::vector< FieldState > ¤t_fields) |
| overload | |
Class which interactions with ParaViewDataCollection to write arbitrary field results to disk. This allows output independent of a particular BasePhysics.
Definition at line 25 of file paraview_writer.hpp.
|
inline |
Construct from ParaViewDataCollection, a vector of shared_ptr to FiniteElementState, and vector of shared_ptr to FiniteElementState which dual fields will be copied into.
Definition at line 31 of file paraview_writer.hpp.