Manages writing results using VTK, based on assembler and data collector. More...
#include <ikarus/io/vtkwriter.hh>
Public Types | |
using | Assembler = AS |
using | GridView = typename Assembler::GridView |
using | FERequirement = typename Assembler::FERequirement |
using | FEContainer = typename Assembler::FEContainer |
using | FEType = typename std::remove_cvref_t< FEContainer >::value_type |
using | DataCollector = DC |
using | VTKWriter = Base |
Public Member Functions | |
template<class... Args> | |
Writer (std::shared_ptr< AS > assembler, Args... args) | |
Constructor with assembler and additional arguments. More... | |
template<typename DC_ , class... Args> requires Concepts::DataCollector<std::decay_t<DC_>> | |
Writer (std::shared_ptr< AS > assembler, DC_ &&dc, Args... args) | |
Constructor with assembler, data collector, and additional arguments. More... | |
template<typename RF > | |
void | addResultFunction (RF &&resultFunction, DataTag dataTag) |
Adds a result function for the given data tag. More... | |
template<template< typename, int, int > class RT> requires (Concepts::ResultType<RT>) | |
void | addResult (DataTag dataTag=DataTag::asPointData) |
Adds a result for the given data tag. More... | |
void | addAllResults (DataTag dataTag=DataTag::asPointData) |
Adds all results for the given data tag. More... | |
template<typename Basis , typename R > | |
void | addInterpolation (R &&vals, const Basis &basis, const std::string &name, DataTag dataTag=DataTag::asPointData) |
Adds interpolation data for the given basis and container. More... | |
AS | Type of the assembler. |
DC | Type of the data collector. |
Base | Base class for VTK writer. |
using Ikarus::Vtk::Writer< AS, DC, Base >::Assembler = AS |
using Ikarus::Vtk::Writer< AS, DC, Base >::DataCollector = DC |
using Ikarus::Vtk::Writer< AS, DC, Base >::FEContainer = typename Assembler::FEContainer |
using Ikarus::Vtk::Writer< AS, DC, Base >::FERequirement = typename Assembler::FERequirement |
using Ikarus::Vtk::Writer< AS, DC, Base >::FEType = typename std::remove_cvref_t<FEContainer>::value_type |
using Ikarus::Vtk::Writer< AS, DC, Base >::GridView = typename Assembler::GridView |
using Ikarus::Vtk::Writer< AS, DC, Base >::VTKWriter = Base |
|
inline |
assembler | Shared pointer to assembler. |
args | Additional arguments. |
|
inline |
assembler | Shared pointer to assembler. |
dc | Data collector |
args | Additional arguments. |
|
inline |
dataTag | The data tag (defaults to DataTag::asPointData). |
|
inline |
Container | Type of the container used by the gridfunction. This can be deduced for power basis and scalarbasis, otherwise define a Dune::FieldVector<ctype, dim> yourself This only works properly with scalar, power and scalar subspacebasis at the moment. If you need more granular control over your output format, create the gridFunction yourself and add it with writer.addPointData(gridFuntion,
fieldInfo) manually |
vals | Coefficient vector to be interpolated. |
basis | The underlying basis, can be a subspacebasis |
name | Name of the field. |
dataTag | The data tag. |
|
inline |
RT | Result type template. |
dataTag | The data tag (defaults to DataTag::asPointData). |
|
inline |
RF | Type of the result function. |
resultFunction | The Ikarus::ResultFunction. |
dataTag | The data tag (defaults to DataTag::asPointData). |