|
SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
|
Specialization of the OperandResult struct for operands that are valid operands (satisfy the IsOperand concept) and are spatial terms (e.g defined over the domain, think mass density). This specialization uses the OperationValue struct to determine the value type of the result of the operand based on its term type and operation type. More...
#include <value.hpp>
Public Types | |
| using | type = double |
Specialization of the OperandResult struct for operands that are valid operands (satisfy the IsOperand concept) and are spatial terms (e.g defined over the domain, think mass density). This specialization uses the OperationValue struct to determine the value type of the result of the operand based on its term type and operation type.
Specialization of the OperandResult struct for operands that are valid operands (satisfy the IsOperand concept) and are global scalar terms (e.g one value over the domain, think total mass). This specialization defines that any operand that is a global scalar term will result in a double when evaluated.
| OperandT | The operand type to determine the result value type for. |
Think of this a compile time way to say "this operand (which recall is an association between a form and a term) will result in a tensor of rank x when evaluated on a term of rank y".
| OperandT | The operand type to determine the result value type for. |
| using serif::discretization::forms::OperandResult< OperandT >::type = double |