ECOGEN 6.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
Loading...
Searching...
No Matches
SourceExact Class Reference

Abstract class for source terms solved by an exact solution. More...

#include <SourceExact.h>

Inherits Source.

Inherited by SourceExactExtendedNavierStokesKorteweg1D.

Collaboration diagram for SourceExact:
[legend]

Public Member Functions

 SourceExact (int physicalEntity=0)
 SourceExact constructor depending on physical entity to apply source.
 ~SourceExact () override
void integrateSourceTerms (Cell *cell, const double &dt, Prim type=vecPhases) override
 Source terms integration on conservative quantities.
virtual void integrationExactSolution (Cell *, const double &, Prim=vecPhases)
 Integration via an exact solution.
Public Member Functions inherited from Source
 Source (int physicalEntity=0)
 Source constructor depending on integration order and physical entity to apply source.
virtual ~Source ()
virtual void prepSourceTerms (Cell *, const int &=0)
 Source terms preparation for integration.
virtual void sourceEvolution (const double &)
 Allows to modifiy the source term along time.
virtual Coord computeAbsVelocity (const Coord &, const Coord &)
 Compute the absolute velocity in the fixed coordinate system.
virtual Coord getOmega ()
virtual bool getRiemannCoupling ()
virtual int getPhysicalEntity ()

Additional Inherited Members

Protected Attributes inherited from Source
int m_physicalEntity

Detailed Description

Abstract class for source terms solved by an exact solution.

Constructor & Destructor Documentation

◆ SourceExact()

SourceExact::SourceExact ( int physicalEntity = 0)

SourceExact constructor depending on physical entity to apply source.

Parameters
physicalEntitythe entity to which the source term is applied (default whole domain)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~SourceExact()

SourceExact::~SourceExact ( )
override

Member Function Documentation

◆ integrateSourceTerms()

void SourceExact::integrateSourceTerms ( Cell * cell,
const double & dt,
Prim type = vecPhases )
overridevirtual

Source terms integration on conservative quantities.

Parameters
cellcell for source term integration
dtintegration time step

Reimplemented from Source.

Here is the call graph for this function:

◆ integrationExactSolution()

virtual void SourceExact::integrationExactSolution ( Cell * ,
const double & ,
Prim = vecPhases )
inlinevirtual

Integration via an exact solution.

Parameters
cellcell for source term integration
dtexplicit integration time step

Reimplemented in SourceExactExtendedNavierStokesKorteweg1D.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files:
  • /home/runner/work/ECOGEN/ECOGEN/doc_sources/src/Sources/SourceExact.h
  • /home/runner/work/ECOGEN/ECOGEN/doc_sources/src/Sources/SourceExact.cpp