AMDiS 2.10
The Adaptive Multi-Dimensional Simulation Toolbox
GridFunctionOperator< GF, Imp > Class Template Reference

The main implementation of an operator depending on a grid-function. More...

#include <GridFunctionOperator.hpp>

Public Types

using GridFunction = GF
 
using Implementation = Imp
 

Public Member Functions

template<class GridFct , class Impl >
 GridFunctionOperator (GridFct &&gridFct, Impl &&impl, int derivDeg, int gridFctOrder)
 Constructor. Stores a copy of gridFct and impl. More...
 
template<class GridView >
void update (GridView const &)
 

Friends

auto localOperator (GridFunctionOperator const &op)
 

Detailed Description

template<class GF, class Imp>
class AMDiS::GridFunctionOperator< GF, Imp >

The main implementation of an operator depending on a grid-function.

An Operator that takes a grid-function as coefficient. Generates a GridFunctionLocalOperator on localOperator()

The class implements the interface of an Operator.

Template Parameters
GFThe class type of the grid-function
ImpClass providing the local assembling method, forwarded to GridFunctionLocalOperator class

Requirements:

  • GF models the Concepts::GridFunction

Constructor & Destructor Documentation

◆ GridFunctionOperator()

GridFunctionOperator ( GridFct &&  gridFct,
Impl &&  impl,
int  derivDeg,
int  gridFctOrder 
)
inline

Constructor. Stores a copy of gridFct and impl.

A GridFunctionOperator takes a grid-function and an implementation class for the assemble method.


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