Class documentation of Concepts

Loading...
Searching...
No Matches

#include <linearForm.hh>

Inheritance diagram for linDG2D::LaplaceTimeLf:
timestepping::TimeLinearForm concepts::LinearForm< Real > concepts::OutputOperator

Public Member Functions

 LaplaceTimeLf (concepts::Formula< Real > &frm, concepts::BoundaryConditions *bc, MeshInfo &mi, Real omega, Real tau, uint nQuadPts)
 
void operator() (const concepts::Element< Real > &elmBase, concepts::ElementMatrix< Real > &em)
 
virtual void time (Real time)
 Sets time_.
 
Real time ()
 Returns time_.
 
virtual void operator() (const Element< typename Realtype< Real >::type > &elm, ElementMatrix< Real > &em) const=0
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 

Protected Attributes

Real time_
 The current time.
 

Detailed Description

DG right hand side for time dependent problems with diffusion in 2D

Author
Christoph Winkelmann, 2003

Definition at line 29 of file linearForm.hh.

Constructor & Destructor Documentation

◆ LaplaceTimeLf()

linDG2D::LaplaceTimeLf::LaplaceTimeLf ( concepts::Formula< Real > &  frm,
concepts::BoundaryConditions bc,
MeshInfo mi,
Real  omega,
Real  tau,
uint  nQuadPts 
)
inline

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

Parameters
frmTime dependent formula
bcBoundary conditions
miMeshInfo to get edge information from
omegaWeight for penalty term
tauSign for symmetric discretization of diffusion
nQuadPtsNumber of quadrature points per dimension

Definition at line 40 of file linearForm.hh.

Member Function Documentation

◆ info()

virtual std::ostream & concepts::LinearForm< Real , typename Realtype<Real >::type >::info ( std::ostream &  os) const
protectedvirtualinherited

◆ operator()() [1/2]

void linDG2D::LaplaceTimeLf::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< typename Realtype<Real >::type > &  elm,
ElementMatrix< Real > &  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

◆ 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: