Fvdg right hand side for time dependent problems with diffusion. More...

#include <linearForm.hh>

Inheritance diagram for linDG3D::FvdgTimeRhsDiff:
timestepping::TimeLinearForm concepts::LinearForm< Real >

Public Member Functions

 FvdgTimeRhsDiff (concepts::Formula< Real > &frm, Real eps, concepts::BoundaryConditions *bc, bool symm=false)
 Constructor. More...
 
void operator() (const concepts::Element< Real > &elmBase, concepts::ElementMatrix< Real > &em)
 Application operator. More...
 
virtual void operator() (const Element< typename Realtype< Real >::type > &elm, ElementMatrix< Real > &em) const=0
 Computes the element contribution to the function. More...
 
Real time ()
 Returns time_. More...
 
virtual void time (Real time)
 Sets time_. More...
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 

Protected Attributes

Real time_
 The current time. More...
 

Private Attributes

const concepts::BoundaryConditionsbc_
 
const Real eps_
 
const concepts::Formula< Real > & frm_
 
int symm_
 

Detailed Description

Fvdg right hand side for time dependent problems with diffusion.

Definition at line 73 of file linearForm.hh.

Constructor & Destructor Documentation

◆ FvdgTimeRhsDiff()

linDG3D::FvdgTimeRhsDiff::FvdgTimeRhsDiff ( concepts::Formula< Real > &  frm,
Real  eps,
concepts::BoundaryConditions bc,
bool  symm = false 
)
inline

Constructor.

Takes a formula object that describes the time dependent form of the right hand side.

Parameters
frmTime dependent formula
epsweighting coefficient of the diffusion terms
bcboundary conditions
symmflag for symmetric discretization of diffusion

Definition at line 82 of file linearForm.hh.

Member Function Documentation

◆ info()

◆ operator()() [1/2]

void linDG3D::FvdgTimeRhsDiff::operator() ( const concepts::Element< Real > &  elmBase,
concepts::ElementMatrix< Real > &  em 
)

Application operator.

Computes the element contribution.

Parameters
elmBaseElement
emElement matrix

◆ operator()() [2/2]

virtual void concepts::LinearForm< Real , typename Realtype<Real >::type >::operator() ( const Element< G > &  elm,
ElementMatrix< F > &  em 
) const
pure virtualinherited

Computes the element contribution to the function.

Parameters
elmElement on which the computations should be performed
emThe local matrix

◆ time() [1/2]

Real timestepping::TimeLinearForm::time ( )
inlineinherited

Returns time_.

Definition at line 41 of file vectors.hh.

◆ time() [2/2]

virtual void timestepping::TimeLinearForm::time ( Real  time)
inlinevirtualinherited

Sets time_.

Reimplemented in vectorial::TimeLinearForm.

Definition at line 39 of file vectors.hh.

Member Data Documentation

◆ bc_

const concepts::BoundaryConditions* linDG3D::FvdgTimeRhsDiff::bc_
private

Definition at line 96 of file linearForm.hh.

◆ eps_

const Real linDG3D::FvdgTimeRhsDiff::eps_
private

Definition at line 95 of file linearForm.hh.

◆ frm_

const concepts::Formula<Real>& linDG3D::FvdgTimeRhsDiff::frm_
private

Definition at line 94 of file linearForm.hh.

◆ symm_

int linDG3D::FvdgTimeRhsDiff::symm_
private

Definition at line 97 of file linearForm.hh.

◆ time_

Real timestepping::TimeLinearForm::time_
protectedinherited

The current time.

Definition at line 44 of file vectors.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich