Evolving surface finite element method  v0.3.0-14-g3598512
Numerical experiments for my papers
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
Esfem::Impl::Rhs_fun Class Reference

Scalar valued right-hand side for the surface PDE. More...

#include <secOrd_op_rhs_impl.h>

Inheritance diagram for Esfem::Impl::Rhs_fun:
Inheritance graph
[legend]
Collaboration diagram for Esfem::Impl::Rhs_fun:
Collaboration graph
[legend]

Public Types

using Base = Esfem::Grid::Grid_and_time::Function_space
 Template argument.
 
using Domain = Base::DomainType
 $ \R^3$
 
using Range = Base::RangeType
 $ \R^1$
 

Public Member Functions

 Rhs_fun (const Dune::Fem::TimeProviderBase &, const Growth)
 Get time, time step and indicate right-hand side for u or w More...
 
 Rhs_fun (const Rhs_fun &)=delete
 No copy constructor.
 
Rhs_funoperator= (const Rhs_fun &)=delete
 No copy assignment.
 
void evaluate (const Domain &, Range &) const
 y = f(x)
 
Range operator() (const Domain &) const
 y = f(x)
 

Private Member Functions

void dassert (const bool assertion, const std::string &msg)
 Dynamic assert.
 

Private Attributes

const Dune::Fem::TimeProviderBase & tp
 Current time and time step.
 
std::function< void(const Domain &, Range &)> fun_impl
 Right-hand side for $ u$ or $ w$.
 

Detailed Description

Scalar valued right-hand side for the surface PDE.

Definition at line 35 of file secOrd_op_rhs_impl.h.

Constructor & Destructor Documentation

Rhs_fun::Rhs_fun ( const Dune::Fem::TimeProviderBase &  tpb,
const Growth  type 
)

Get time, time step and indicate right-hand side for u or w

Warning
If time provider outlives this, then you are in problem.

Definition at line 52 of file secOrd_op_rhs_impl.cpp.


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