Smith  0.1
Smith is an implicit thermal structural mechanics simulation code.
Classes | Namespaces | Functions
paraview_writer.hpp File Reference

Simple paraview field output methods. More...

#include <string>
#include "mfem.hpp"
#include "smith/differentiable_numerics/field_state.hpp"
#include "smith/physics/mesh.hpp"
#include <variant>
Include dependency graph for paraview_writer.hpp:

Go to the source code of this file.

Classes

class  smith::ParaviewWriter
 Class which interactions with ParaViewDataCollection to write arbitrary field results to disk. This allows output independent of a particular BasePhysics. More...
 

Namespaces

 smith
 Accelerator functionality.
 

Functions

auto smith::createParaviewWriter (const smith::Mesh &mesh, const std::vector< FieldState > &states, std::string output_name)
 Creates a ParaviewWriter from a mesh, vector of FieldState, and the name of the output paraview file. File will be in directory filename/filename.pvd.
 
auto smith::createParaviewWriter (const mfem::ParMesh &mesh, const std::vector< const FiniteElementState * > &states, std::string output_name)
 Creates a ParaviewWriter from an mfem::ParMesh, vector of FiniteElementState pointers, and the name of the output paraview file. File will be in directory filename/filename.pvd.
 

Detailed Description

Simple paraview field output methods.

Definition in file paraview_writer.hpp.