Public Member Functions | List of all members
Acceleration Class Referenceabstract

Physical acceleration. More...

#include <ConservativeForce.hpp>

Inheritance diagram for Acceleration:
Inheritance graph
[legend]

Public Member Functions

virtual Vector2D operator() (const Tessellation &tess, const vector< ComputationalCell > &cells, const vector< Extensive > &fluxes, const double time, const int point, TracerStickerNames const &tracerstickernames) const =0
 Calculates the acceleration that the cell feels. More...
 

Detailed Description

Physical acceleration.

Definition at line 12 of file ConservativeForce.hpp.

Member Function Documentation

◆ operator()()

virtual Vector2D Acceleration::operator() ( const Tessellation tess,
const vector< ComputationalCell > &  cells,
const vector< Extensive > &  fluxes,
const double  time,
const int  point,
TracerStickerNames const &  tracerstickernames 
) const
pure virtual

Calculates the acceleration that the cell feels.

Parameters
tessThe tessellation
cellsThe primitive cells
pointThe index of the cell to calculate
fluxesThe vector of the fluxes
timeThe simulation time
tracerstickernamesThe names of the tracers and stickers
Returns
The calculated acceleration

Implemented in CenterGravity, ImprovedCenterGravity, and ConstantGravity.


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