Define the abstract primitive state of a Riemann Problem for FORESEER library.
Abstract interfaces of deferred methods of primitive_object.
Return serialized array of primitive.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(primitive_object), | intent(in) | :: | self | Primitive. |
Serialized array of primitive.
Abstract interfaces of deferred methods of primitive_object.
Operator =.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(primitive_object), | intent(inout) | :: | lhs | Left hand side. |
||
| class(primitive_object), | intent(in) | :: | rhs | Right hand side. |
Abstract interfaces of deferred methods of primitive_object.
Return a pretty-formatted object description.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(primitive_object), | intent(in) | :: | self | Primitive. |
||
| character(len=*), | intent(in), | optional | :: | prefix | Prefixing string. |
Description.
Abstract interfaces of deferred methods of primitive_object.
Destroy primitive.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(primitive_object), | intent(inout) | :: | self | Primitive. |
Abstract interfaces of deferred methods of primitive_object.
Return energy value.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(primitive_object), | intent(in) | :: | self | Primitive. |
||
| class(eos_object), | intent(in) | :: | eos | Equation of state. |
Energy value.
Abstract interfaces of deferred methods of primitive_object.
Initialize primitive.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(primitive_object), | intent(inout) | :: | self | Primitive. |
||
| class(primitive_object), | intent(in), | optional | :: | initial_state | Initial state. |
Abstract interfaces of deferred methods of primitive_object.
Return momentum vector.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(primitive_object), | intent(in) | :: | self | Primitive. |
Momentum vector.
Abstract interfaces of deferred methods of primitive_object.
Operator prim.op.real.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(primitive_object), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Abstract interfaces of deferred methods of primitive_object.
Operator real * prim.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R8P), | intent(in) | :: | lhs | Left hand side. |
||
| class(primitive_object), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Abstract interfaces of deferred methods of primitive_object.
Symmetric operator prim.op.prim.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(primitive_object), | intent(in) | :: | lhs | Left hand side. |
||
| class(primitive_object), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Abstract interfaces of deferred methods of primitive_object.
Unary operator .op.prim.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(primitive_object), | intent(in) | :: | self | Primitive. |
Operator result.
Convervative object class.
| procedure(symmetric_operator), public, pass(lhs) :: add | Operator |
| procedure(array_interface), public, pass(self) :: array | Return serialized array of primitive. |
| generic, public :: assignment(=) => prim_assign_prim | Overload |
| procedure(description_interface), public, pass(self) :: description | Return pretty-printed object description. |
| procedure(destroy_interface), public, pass(self) :: destroy | Destroy primitive. |
| procedure(energy_interface), public, pass(self) :: energy | Return energy value. |
| procedure(initialize_interface), public, pass(self) :: initialize | Initialize primitive. |
| procedure(momentum_interface), public, pass(self) :: momentum | Return momentum vector. |
| procedure(unary_operator), public, pass(self) :: negative | Unary operator |
| generic, public :: operator(*) => prim_multiply_prim, prim_multiply_real, real_multiply_prim | Overload |
| generic, public :: operator(+) => add, positive | Overload |
| generic, public :: operator(-) => sub, negative | Overload |
| generic, public :: operator(/) => prim_divide_real | Overload |
| procedure(unary_operator), public, pass(self) :: positive | Unary operator |
| procedure(assignment_interface), public, pass(lhs) :: prim_assign_prim | Operator |
| procedure(prim_operator_real), public, pass(lhs) :: prim_divide_real | Operator |
| procedure(symmetric_operator), public, pass(lhs) :: prim_multiply_prim | Operator |
| procedure(prim_operator_real), public, pass(lhs) :: prim_multiply_real | Operator |
| procedure(real_operator_prim), public, pass(rhs) :: real_multiply_prim | Operator |
| procedure(symmetric_operator), public, pass(lhs) :: sub | Operator |