Public Member Functions | List of all members
SourceTerm Class Referenceabstract

Abstract class for external forces. More...

#include <SourceTerm.hpp>

Inheritance diagram for SourceTerm:
Inheritance graph
[legend]

Public Member Functions

virtual vector< Extensiveoperator() (const Tessellation &tess, const PhysicalGeometry &pg, const CacheData &cd, const vector< ComputationalCell > &cells, const vector< Extensive > &fluxes, const vector< Vector2D > &point_velocities, const double t, TracerStickerNames const &tracerstickernames) const =0
 Calcualtes the change in conserved variables done on a cell from a source term. More...
 

Detailed Description

Abstract class for external forces.

Definition at line 17 of file SourceTerm.hpp.

Member Function Documentation

◆ operator()()

virtual vector<Extensive> SourceTerm::operator() ( const Tessellation tess,
const PhysicalGeometry pg,
const CacheData cd,
const vector< ComputationalCell > &  cells,
const vector< Extensive > &  fluxes,
const vector< Vector2D > &  point_velocities,
const double  t,
TracerStickerNames const &  tracerstickernames 
) const
pure virtual

Calcualtes the change in conserved variables done on a cell from a source term.

Parameters
tessThe tessellation
pgPhysical geometry
cdCache data
cellsThe hydrodynmic variables of the cell
fluxesFluxes
point_velocitiesVelocities of the mesh generating points
tTime
tracerstickernamesThe names of the tracers and stickers
Returns
The flux of conserved variables

Implemented in ConservativeForce, SeveralSources, CylindricalComplementary, and ZeroForce.


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