#include <alsfvm/equation/linear/Linear.hpp>
◆ AllVariables
◆ ConservedVariables
◆ ConstViews
◆ ConstViewsExtra
◆ ExtraVariables
◆ Parameters
◆ PrimitiveVariables
◆ Views
◆ ViewsExtra
◆ Linear()
◆ addToViewAt()
Adds the conserved variables to the view at the given index
Basically sets output[index] += input
◆ computeConserved()
computes the conserved variables from the primitive ones
- Parameters
-
primitiveVariables | the primtive variables |
- Returns
- the computed all variables
- Note
- This implementation is not made for speed! Should only be used sparsely (eg. for initialization).
◆ computeEigenValues()
◆ computeEigenVectorMatrix()
◆ computeEntropyPotential()
Computes the entropy potential
given by
where
is defined through
◆ computeEntropyVariables()
Computes the entropy variable
given by
corresponding to the entropy
where
is given as entropyUpperBound and
is given as entropyLowerBound.
◆ computeEntropyVariablesMultipliedByEigenVectorMatrix()
◆ computeExtra() [1/2]
Empty function, Linear has no extra variables at the moment
◆ computeExtra() [2/2]
computes the extra variables from the primitive ones
- Note
- Empty function, Linear has no extra varaibles at the moment.
◆ computePointFlux()
template<size_t direction>
Computes the point flux.
Here we view the Linear equation as the following hyperbolic system
whence the function will return 
- Parameters
-
[in] | u | the variables to use |
[out] | F | the resulting flux |
◆ computePrimitiveVariables()
◆ computeWaveSpeed()
Computes the wave speed in the given direction (absolute value of wave speed)
◆ fetchAllVariables()
Fetches and computes the all variables from memory
◆ fetchConservedVariables()
template<class T , class S >
◆ fetchExtraVariables()
◆ getName()
static std::string alsfvm::equation::linear::Linear::getName |
( |
| ) |
|
|
inlinestatic |
◆ getNumberOfConservedVariables()
__device__ static __host__ size_t alsfvm::equation::linear::Linear::getNumberOfConservedVariables |
( |
| ) |
|
|
inlinestatic |
◆ getWeight()
◆ makeAllVariables()
◆ obeysConstraints()
Checks to see if the variables obeys the constraint. In this case it checks that
and
- Returns
- true if the inequalities are fulfilled, false otherwise
◆ setExtraViewAt()
Writes the ExtraVariable struct back to memory
◆ setViewAt()
Writes the ConservedVariable struct back to memory
◆ conservedVariables
const std::vector< std::string > alsfvm::equation::linear::Linear::conservedVariables = { "u"} |
|
static |
List of all conserved variables used by Linear (u)
◆ entropyLowerBound
const constexpr real alsfvm::equation::linear::Linear::entropyLowerBound = 0 |
|
static |
Gives the lower bound for the parameter the entropy functions, corresponds to the "a" variable in the tecno variable for the Linear log entropy
◆ entropyUpperBound
const constexpr real alsfvm::equation::linear::Linear::entropyUpperBound = 2 |
|
static |
Gives the lower bound for the parameter the entropy functions, corresponds to the "b" variable in the tecno variable for the Linear log entropy
◆ extraVariables
const std::vector< std::string > alsfvm::equation::linear::Linear::extraVariables |
|
static |
List of all extra variables used by Linear (none)
◆ numberOfConservedVariables
const size_t alsfvm::equation::linear::Linear::numberOfConservedVariables = 1 |
|
static |
Gives the number of conserved variables used (1)
◆ primitiveVariables
const std::vector< std::string > alsfvm::equation::linear::Linear::primitiveVariables = { "u" } |
|
static |
List of all primtive variables used by Linear (u)
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/alsvinn/checkouts/stable/alsfvm/include/alsfvm/equation/linear/Linear.hpp
- /home/docs/checkouts/readthedocs.org/user_builds/alsvinn/checkouts/stable/alsfvm/src/equation/linear/Linear.cpp