#include <alsfvm/equation/CUDACellComputer.hpp>
◆ CUDACellComputer()
template<class Equation >
◆ computeExtraVariables()
template<class Equation >
computeExtraVariables computes the extra variables (eg. pressure for euler)
- Parameters
-
[in] | conservedVariables | the conserved variables to read from |
[out] | extraVariables | the extra variables to write to |
Implements alsfvm::equation::CellComputer.
◆ computeFromPrimitive()
template<class Equation >
computeFromPrimitive computes the conserved and extra variables based on the primtive variables
- Parameters
-
[in] | primtiveVariables | the primitive variables to use |
[out] | conservedVariables | the conserved variables. |
Implements alsfvm::equation::CellComputer.
◆ computeMaxWaveSpeed()
template<class Equation >
Computes the maximum wavespeed
- Parameters
-
conservedVariables | the conserved variables (density, momentum, Energy for Euler) |
direction | the direction to find the wave speed for
direction | description |
0 | x-direction |
1 | y-direction |
2 | z-direction |
|
- Returns
- the maximum wave speed (absolute value)
Implements alsfvm::equation::CellComputer.
◆ obeysConstraints()
template<class Equation >
Checks if all the constraints for the equation are met
- Parameters
-
conservedVariables | the conserved variables (density, momentum, Energy for Euler) |
- Returns
- true if it obeys the constraints, false otherwise
Implements alsfvm::equation::CellComputer.
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/alsvinn/checkouts/stable/alsfvm/include/alsfvm/equation/CUDACellComputer.hpp