G+Smo  24.08.0
Geometry + Simulation Modules
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gsWriteParaviewMultiPhysics.h
Go to the documentation of this file.
1 
16 #pragma once
17 
20 
21 #define NS 1000
22 
23 namespace gismo
24 {
31 template<class T>
32 void gsWriteParaviewMultiPhysics(std::map<std::string, const gsField<T> *> fields, std::string const & fn,
33  unsigned npts=NS, bool mesh = false, bool ctrlNet = false);
34 
41 template<class T>
42 void gsWriteParaviewMultiPhysicsTimeStep(std::map<std::string, const gsField<T> *> fields, std::string const & fn,
43  gsParaviewCollection & collection, int time, unsigned npts=NS);
44 
45 
52 template<class T>
53 void gsWriteParaviewMultiPhysicsSinglePatch(std::map<std::string, const gsField<T> *> fields,
54  const unsigned patchNum,
55  std::string const & fn,
56  unsigned npts);
57 
58 
65 template<class T>
66 void 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
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
Provides a helper class to write Paraview collection (.pvd) files.
Provides forward declarations of types and structs.
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
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