G+Smo
25.01.0
Geometry + Simulation Modules
|
This class represents a group of vtk (Paraview) files that refer to one multiPatch, for one timestep.
This class is used by gsParaviewCollection to manage said files, but can be used by the user explicitly as well.
Public Member Functions | |
template<class E > | |
void | addField (const expr::_expr< E > &expr, std::string label) |
Evaluates an expression, and writes that data to the vtk files. | |
template<class T > | |
void | addField (const gsField< T > field, std::string label) |
Evaluates a gsField ( the function part ), and writes that data to the vtk files. | |
template<class E , typename... Rest> | |
void | addFields (std::vector< std::string > labels, const expr::_expr< E > &expr, Rest... rest) |
Recursive form of addField() | |
template<class T , typename... Rest> | |
void | addFields (std::vector< std::string > labels, const gsField< T > field, Rest... rest) |
Recursive form of addField() | |
const std::vector< std::string > | filenames () |
Returns the names of the files created by this gsParaviewDataSet. | |
gsParaviewDataSet (std::string basename, gsMultiPatch< real_t > *const geometry, gsExprEvaluator< real_t > *eval=nullptr, gsOptionList options=defaultOptions()) | |
Basic constructor. | |
Static Public Member Functions | |
static gsOptionList | defaultOptions () |
Accessor to the current options. | |
gsParaviewDataSet | ( | std::string | basename, |
gsMultiPatch< real_t > *const | geometry, | ||
gsExprEvaluator< real_t > * | eval = nullptr , |
||
gsOptionList | options = defaultOptions() |
||
) |
Basic constructor.
basename | The basename that will be used to create all the individual filenames |
geometry | A gsMultiPatch of the geometry that will be exported and where the fields are defined |
eval | Optional. A gsExprEvaluator, necessary when working with gsExpressions for evaluation purposes |
options | A set of options, if unspecified, defaultOptions() is called. |
|
inline |
Evaluates an expression, and writes that data to the vtk files.
E |
expr | The gsExpression to be evaluated |
label | The name that will be displayed in Paraview for this field. |
|
inline |
|
inline |
Recursive form of addField()
E | |
...Rest |
labels | Vector of strings, containing the names of the fields as they will be shown in ParaView. |
expr | The expressions to be evaluated ( arbitrary number of them ) |
...rest |
|
inline |
Recursive form of addField()
T | |
...Rest |
labels | Vector of strings, containing the names of the fields as they will be shown in ParaView. |
field | The gsFields to be evaluated ( arbitrary number of them ) |
...rest |
const std::vector< std::string > filenames | ( | ) |
Returns the names of the files created by this gsParaviewDataSet.