G+Smo  25.01.0
Geometry + Simulation Modules
 
Loading...
Searching...
No Matches
gsWriteParaviewMultiPhysics.h
Go to the documentation of this file.
1
16#pragma once
17
20
21#define NS 1000
22
23namespace gismo
24{
31template<class T>
32void gsWriteParaviewMultiPhysics(std::map<std::string, const gsField<T> *> fields, std::string const & fn,
33 unsigned npts=NS, bool mesh = false, bool ctrlNet = false);
34
41template<class T>
42void gsWriteParaviewMultiPhysicsTimeStep(std::map<std::string, const gsField<T> *> fields, std::string const & fn,
43 gsParaviewCollection & collection, int time, unsigned npts=NS);
44
45
52template<class T>
53void gsWriteParaviewMultiPhysicsSinglePatch(std::map<std::string, const gsField<T> *> fields,
54 const unsigned patchNum,
55 std::string const & fn,
56 unsigned npts);
57
58
65template<class T>
66void gsWriteParaviewMultiTPgrid(gsMatrix<T> const& points,
67 std::map<std::string, gsMatrix<T> >& data,
68 const gsVector<index_t> & np,
69 std::string const & fn);
70
71}
72
73#undef NS
Provides forward declarations of types and structs.
Provides a helper class to write Paraview collection (.pvd) files.
The G+Smo namespace, containing all definitions for the library.
void gsWriteParaviewMultiPhysics(std::map< std::string, const gsField< T > * > fields, std::string const &fn, unsigned npts=NS, bool mesh=false, bool ctrlNet=false)
Write a file containing several fields defined on the same geometry to ONE paraview file.
Definition gsWriteParaviewMultiPhysics.hpp:76
void gsWriteParaviewMultiTPgrid(gsMatrix< T > const &points, std::map< std::string, gsMatrix< T > > &data, const gsVector< index_t > &np, std::string const &fn)
Utility function to actually write prepaired matrices with data into Paraview file.
Definition gsWriteParaviewMultiPhysics.hpp:186
void gsWriteParaviewMultiPhysicsTimeStep(std::map< std::string, const gsField< T > * > fields, std::string const &fn, gsParaviewCollection &collection, int time, unsigned npts=NS)
Write a file containing several fields defined on the same geometry to ONE paraview file and adds it ...
Definition gsWriteParaviewMultiPhysics.hpp:109
void gsWriteParaviewMultiPhysicsSinglePatch(std::map< std::string, const gsField< T > * > fields, const unsigned patchNum, std::string const &fn, unsigned npts)
Extract and evaluate geometry and the fields for a single patch.
Definition gsWriteParaviewMultiPhysics.hpp:123