dune-vtk 2.8
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | List of all members
Dune::Vtk::LagrangeGridFunction< GridType, FieldType, Context > Class Template Reference

Grid-function representing values from a VTK file with local Lagrange interpolation of the values stored on the Lagrange nodes. More...

#include <dune/vtk/gridfunctions/lagrangegridfunction.hh>

Classes

struct  EntitySet
 

Public Types

using Domain = typename EntitySet::GlobalCoordinate
 
using Range = DynamicVector< Field >
 
using Signature = Range(Domain)
 

Public Member Functions

 LagrangeGridFunction (GridCreator const &creator, std::vector< Field > const &values, std::string name, unsigned int ncomps, Vtk::DataTypes dataType, std::vector< std::uint8_t > const &types, std::vector< std::int64_t > const &offsets, std::vector< std::int64_t > const &connectivity)
 
 LagrangeGridFunction ()=default
 
Range operator() (Domain const &global) const
 Global evaluation. Not supported!
 
EntitySet const & entitySet () const
 Return a type that defines the element that can be iterated.
 
std::string const & name () const
 
int numComponents () const
 
Vtk::DataTypes dataType () const
 

Detailed Description

template<class GridType, class FieldType, class Context>
class Dune::Vtk::LagrangeGridFunction< GridType, FieldType, Context >

Grid-function representing values from a VTK file with local Lagrange interpolation of the values stored on the Lagrange nodes.

Member Typedef Documentation

◆ Domain

template<class GridType , class FieldType , class Context >
using Dune::Vtk::LagrangeGridFunction< GridType, FieldType, Context >::Domain = typename EntitySet::GlobalCoordinate

◆ Range

template<class GridType , class FieldType , class Context >
using Dune::Vtk::LagrangeGridFunction< GridType, FieldType, Context >::Range = DynamicVector<Field>

◆ Signature

template<class GridType , class FieldType , class Context >
using Dune::Vtk::LagrangeGridFunction< GridType, FieldType, Context >::Signature = Range(Domain)

Constructor & Destructor Documentation

◆ LagrangeGridFunction() [1/2]

template<class GridType , class FieldType , class Context >
Dune::Vtk::LagrangeGridFunction< GridType, FieldType, Context >::LagrangeGridFunction ( GridCreator const &  creator,
std::vector< Field > const &  values,
std::string  name,
unsigned int  ncomps,
Vtk::DataTypes  dataType,
std::vector< std::uint8_t > const &  types,
std::vector< std::int64_t > const &  offsets,
std::vector< std::int64_t > const &  connectivity 
)
inline

Construct a grid-function. Passed in data is stroed by reference, thus must have a life-time greater than that of the grid-function and corresponding local-function.

◆ LagrangeGridFunction() [2/2]

template<class GridType , class FieldType , class Context >
Dune::Vtk::LagrangeGridFunction< GridType, FieldType, Context >::LagrangeGridFunction ( )
default

Member Function Documentation

◆ dataType()

template<class GridType , class FieldType , class Context >
Vtk::DataTypes Dune::Vtk::LagrangeGridFunction< GridType, FieldType, Context >::dataType ( ) const
inline

◆ entitySet()

template<class GridType , class FieldType , class Context >
EntitySet const & Dune::Vtk::LagrangeGridFunction< GridType, FieldType, Context >::entitySet ( ) const
inline

Return a type that defines the element that can be iterated.

◆ name()

template<class GridType , class FieldType , class Context >
std::string const & Dune::Vtk::LagrangeGridFunction< GridType, FieldType, Context >::name ( ) const
inline

◆ numComponents()

template<class GridType , class FieldType , class Context >
int Dune::Vtk::LagrangeGridFunction< GridType, FieldType, Context >::numComponents ( ) const
inline

◆ operator()()

template<class GridType , class FieldType , class Context >
Range Dune::Vtk::LagrangeGridFunction< GridType, FieldType, Context >::operator() ( Domain const &  global) const
inline

Global evaluation. Not supported!


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