dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
Dune::Fem::RestrictFunction< LRP > Class Template Reference

restrict discrete functions between grid levels More...

#include <dune/fem/space/common/restrictprolongfunction.hh>

Public Types

typedef LRP LocalRestrictProlong
 type of the local restriction and prolongation operator
 

Public Member Functions

template<class FineFunction , class CoarseFunction >
void operator() (const FineFunction &fineFunction, CoarseFunction &coarseFunction) const
 restrict a discrete function to coarser grid level
 

Detailed Description

template<class LRP>
class Dune::Fem::RestrictFunction< LRP >

restrict discrete functions between grid levels

Template Parameters
LRPlocal restriction and prolongation operator (e.g., LocalLagrangeRestrictProlong)

Member Typedef Documentation

◆ LocalRestrictProlong

template<class LRP >
typedef LRP Dune::Fem::RestrictFunction< LRP >::LocalRestrictProlong

type of the local restriction and prolongation operator

Member Function Documentation

◆ operator()()

template<class LRP >
template<class FineFunction , class CoarseFunction >
void Dune::Fem::RestrictFunction< LRP >::operator() ( const FineFunction &  fineFunction,
CoarseFunction &  coarseFunction 
) const
inline

restrict a discrete function to coarser grid level

Note
The grid parts modelling the levels need not be of same type.
Parameters
[in]fineFunctiondiscrete function on the finer level
[out]coarseFunctiondiscrete function on the coarser level

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