Public Member Functions | List of all members
ZeroForce1D Class Reference

Zero external force. More...

#include <zero_force_1d.hpp>

Inheritance diagram for ZeroForce1D:
Inheritance graph
[legend]
Collaboration diagram for ZeroForce1D:
Collaboration graph
[legend]

Public Member Functions

Extensive operator() (const SimulationState1D &state, size_t point, double t, double dt) const
 Calculates the change in the extensive conserved variables due to external forces. More...
 

Detailed Description

Zero external force.

Definition at line 12 of file zero_force_1d.hpp.

Member Function Documentation

◆ operator()()

Extensive ZeroForce1D::operator() ( const SimulationState1D state,
size_t  point,
double  t,
double  dt 
) const
virtual

Calculates the change in the extensive conserved variables due to external forces.

Parameters
stateComputational domain and hydro cells
pointPoint in which the forces will be evaluated
tSimulation time
dtTime step
Returns
Value of the external force

Implements SourceTerm1D.

Definition at line 4 of file zero_force_1d.cpp.

Here is the call graph for this function:

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