DUNE-FEM (unstable)

Dune::Fem::GridSolution< GridImp, DiscreteFunctionImp > Class Template Reference

creates a function with evaluate method from a check point More...

#include <dune/fem/misc/gridsolution.hh>

Public Member Functions

 GridSolution (const std::string checkPointFile, const int rank=-1)
 Constructor.
 
void evaluate (const DomainType &x, const double time, RangeType &result) const
 evaluates in a given space-time point More...
 
void evaluate (const DomainType &x, RangeType &result) const
 evaluates in a given space point More...
 

Static Public Member Functions

static void writeDiscreteFunction (const GridType &grid, const DiscreteFunctionType &discreteFunction, const double time, const int writeStep)
 writes a discrete function
 

Detailed Description

template<class GridImp, class DiscreteFunctionImp>
class Dune::Fem::GridSolution< GridImp, DiscreteFunctionImp >

creates a function with evaluate method from a check point

Template Parameters
GridImpGrid type
DiscreteFunctionImpDiscrete function type

Member Function Documentation

◆ evaluate() [1/2]

template<class GridImp , class DiscreteFunctionImp >
void Dune::Fem::GridSolution< GridImp, DiscreteFunctionImp >::evaluate ( const DomainType &  x,
const double  time,
RangeType &  result 
) const
inline

evaluates in a given space-time point

Parameters
[in]xPoint in global coordinates
[in]timeTime
[out]resultThe value of the discrete function in space-time point

\[ (x,time)\]

Template Parameters
PointTypeThe point type

◆ evaluate() [2/2]

template<class GridImp , class DiscreteFunctionImp >
void Dune::Fem::GridSolution< GridImp, DiscreteFunctionImp >::evaluate ( const DomainType &  x,
RangeType &  result 
) const
inline

evaluates in a given space point

Parameters
[in]xPoint in global coordinates
[out]resultThe value of the discrete function in space point x
Template Parameters
PointTypeThe point type

References Dune::HierarchicSearch< Grid, IS >::findEntity(), Dune::Geo::ReferenceElements< ctype_, dim >::general(), and Dune::Concept::Geometry.


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (May 10, 22:30, 2024)