MFEM v4.9.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::VisualizerBase< TMesh, TGridFunction, TFiniteElementSpace, TSchrodingerSolver, TIncompressibleFlow > Struct Template Reference

Base class for visualization. More...

#include <schrodinger_flow.hpp>

Inheritance diagram for mfem::VisualizerBase< TMesh, TGridFunction, TFiniteElementSpace, TSchrodingerSolver, TIncompressibleFlow >:
[legend]
Collaboration diagram for mfem::VisualizerBase< TMesh, TGridFunction, TFiniteElementSpace, TSchrodingerSolver, TIncompressibleFlow >:
[legend]

Public Member Functions

 VisualizerBase (Options &config, TSchrodingerSolver &solver, const TIncompressibleFlow &isf, std::function< std::string()> prefix)
 
void Visualize ()
 
 ~VisualizerBase ()
 
TGridFunction * operator() ()
 Get the visualization data.
 
void Save (int cycle, real_t time)
 Save the visualization data to a file.
 
void GLVis ()
 Send the visualization data to GLVis.
 

Public Attributes

TMeshmesh
 
socketstream glvis
 
TGridFunction vis_gf
 
std::function< void()> vis_fn
 
std::function< std::string()> vis_prefix
 
const int ndofs
 
const Options::VisData vis_data
 
const TIncompressibleFlow & isf
 
const TSchrodingerSolver & solver
 
ParaViewDataCollection dc
 
ParaViewHDFDataCollection dc
 

Detailed Description

template<typename TMesh, typename TGridFunction, typename TFiniteElementSpace, typename TSchrodingerSolver, typename TIncompressibleFlow>
struct mfem::VisualizerBase< TMesh, TGridFunction, TFiniteElementSpace, TSchrodingerSolver, TIncompressibleFlow >

Base class for visualization.

Definition at line 829 of file schrodinger_flow.hpp.

Constructor & Destructor Documentation

◆ VisualizerBase()

template<typename TMesh , typename TGridFunction , typename TFiniteElementSpace , typename TSchrodingerSolver , typename TIncompressibleFlow >
mfem::VisualizerBase< TMesh, TGridFunction, TFiniteElementSpace, TSchrodingerSolver, TIncompressibleFlow >::VisualizerBase ( Options & config,
TSchrodingerSolver & solver,
const TIncompressibleFlow & isf,
std::function< std::string()> prefix )
inline

Definition at line 847 of file schrodinger_flow.hpp.

◆ ~VisualizerBase()

template<typename TMesh , typename TGridFunction , typename TFiniteElementSpace , typename TSchrodingerSolver , typename TIncompressibleFlow >
mfem::VisualizerBase< TMesh, TGridFunction, TFiniteElementSpace, TSchrodingerSolver, TIncompressibleFlow >::~VisualizerBase ( )
inline

Definition at line 957 of file schrodinger_flow.hpp.

Member Function Documentation

◆ GLVis()

template<typename TMesh , typename TGridFunction , typename TFiniteElementSpace , typename TSchrodingerSolver , typename TIncompressibleFlow >
void mfem::VisualizerBase< TMesh, TGridFunction, TFiniteElementSpace, TSchrodingerSolver, TIncompressibleFlow >::GLVis ( )
inline

Send the visualization data to GLVis.

Definition at line 977 of file schrodinger_flow.hpp.

◆ operator()()

template<typename TMesh , typename TGridFunction , typename TFiniteElementSpace , typename TSchrodingerSolver , typename TIncompressibleFlow >
TGridFunction * mfem::VisualizerBase< TMesh, TGridFunction, TFiniteElementSpace, TSchrodingerSolver, TIncompressibleFlow >::operator() ( )
inline

Get the visualization data.

Definition at line 960 of file schrodinger_flow.hpp.

◆ Save()

template<typename TMesh , typename TGridFunction , typename TFiniteElementSpace , typename TSchrodingerSolver , typename TIncompressibleFlow >
void mfem::VisualizerBase< TMesh, TGridFunction, TFiniteElementSpace, TSchrodingerSolver, TIncompressibleFlow >::Save ( int cycle,
real_t time )
inline

Save the visualization data to a file.

Definition at line 967 of file schrodinger_flow.hpp.

◆ Visualize()

template<typename TMesh , typename TGridFunction , typename TFiniteElementSpace , typename TSchrodingerSolver , typename TIncompressibleFlow >
void mfem::VisualizerBase< TMesh, TGridFunction, TFiniteElementSpace, TSchrodingerSolver, TIncompressibleFlow >::Visualize ( )
inline

Definition at line 861 of file schrodinger_flow.hpp.

Member Data Documentation

◆ dc [1/2]

template<typename TMesh , typename TGridFunction , typename TFiniteElementSpace , typename TSchrodingerSolver , typename TIncompressibleFlow >
ParaViewDataCollection mfem::VisualizerBase< TMesh, TGridFunction, TFiniteElementSpace, TSchrodingerSolver, TIncompressibleFlow >::dc

Definition at line 842 of file schrodinger_flow.hpp.

◆ dc [2/2]

template<typename TMesh , typename TGridFunction , typename TFiniteElementSpace , typename TSchrodingerSolver , typename TIncompressibleFlow >
ParaViewHDFDataCollection mfem::VisualizerBase< TMesh, TGridFunction, TFiniteElementSpace, TSchrodingerSolver, TIncompressibleFlow >::dc

Definition at line 844 of file schrodinger_flow.hpp.

◆ glvis

template<typename TMesh , typename TGridFunction , typename TFiniteElementSpace , typename TSchrodingerSolver , typename TIncompressibleFlow >
socketstream mfem::VisualizerBase< TMesh, TGridFunction, TFiniteElementSpace, TSchrodingerSolver, TIncompressibleFlow >::glvis

Definition at line 832 of file schrodinger_flow.hpp.

◆ isf

template<typename TMesh , typename TGridFunction , typename TFiniteElementSpace , typename TSchrodingerSolver , typename TIncompressibleFlow >
const TIncompressibleFlow& mfem::VisualizerBase< TMesh, TGridFunction, TFiniteElementSpace, TSchrodingerSolver, TIncompressibleFlow >::isf

Definition at line 838 of file schrodinger_flow.hpp.

◆ mesh

template<typename TMesh , typename TGridFunction , typename TFiniteElementSpace , typename TSchrodingerSolver , typename TIncompressibleFlow >
TMesh& mfem::VisualizerBase< TMesh, TGridFunction, TFiniteElementSpace, TSchrodingerSolver, TIncompressibleFlow >::mesh

Definition at line 831 of file schrodinger_flow.hpp.

◆ ndofs

template<typename TMesh , typename TGridFunction , typename TFiniteElementSpace , typename TSchrodingerSolver , typename TIncompressibleFlow >
const int mfem::VisualizerBase< TMesh, TGridFunction, TFiniteElementSpace, TSchrodingerSolver, TIncompressibleFlow >::ndofs

Definition at line 836 of file schrodinger_flow.hpp.

◆ solver

template<typename TMesh , typename TGridFunction , typename TFiniteElementSpace , typename TSchrodingerSolver , typename TIncompressibleFlow >
const TSchrodingerSolver& mfem::VisualizerBase< TMesh, TGridFunction, TFiniteElementSpace, TSchrodingerSolver, TIncompressibleFlow >::solver

Definition at line 839 of file schrodinger_flow.hpp.

◆ vis_data

template<typename TMesh , typename TGridFunction , typename TFiniteElementSpace , typename TSchrodingerSolver , typename TIncompressibleFlow >
const Options::VisData mfem::VisualizerBase< TMesh, TGridFunction, TFiniteElementSpace, TSchrodingerSolver, TIncompressibleFlow >::vis_data

Definition at line 837 of file schrodinger_flow.hpp.

◆ vis_fn

template<typename TMesh , typename TGridFunction , typename TFiniteElementSpace , typename TSchrodingerSolver , typename TIncompressibleFlow >
std::function<void()> mfem::VisualizerBase< TMesh, TGridFunction, TFiniteElementSpace, TSchrodingerSolver, TIncompressibleFlow >::vis_fn

Definition at line 834 of file schrodinger_flow.hpp.

◆ vis_gf

template<typename TMesh , typename TGridFunction , typename TFiniteElementSpace , typename TSchrodingerSolver , typename TIncompressibleFlow >
TGridFunction mfem::VisualizerBase< TMesh, TGridFunction, TFiniteElementSpace, TSchrodingerSolver, TIncompressibleFlow >::vis_gf

Definition at line 833 of file schrodinger_flow.hpp.

◆ vis_prefix

template<typename TMesh , typename TGridFunction , typename TFiniteElementSpace , typename TSchrodingerSolver , typename TIncompressibleFlow >
std::function<std::string()> mfem::VisualizerBase< TMesh, TGridFunction, TFiniteElementSpace, TSchrodingerSolver, TIncompressibleFlow >::vis_prefix

Definition at line 835 of file schrodinger_flow.hpp.


The documentation for this struct was generated from the following file: