Define the abstract conservative compressible state of a Riemann Problem for FORESEER library.
Overload conservative_compressible name with its constructor.
Return and instance of conservative_compressible.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R8P), | intent(in), | optional | :: | density | Density, |
|
| type(vector), | intent(in), | optional | :: | momentum | Momentum, |
|
| real(kind=R8P), | intent(in), | optional | :: | energy | Energy, |
Instance of conservative_compressible.
Convervative compressible object class.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=R8P), | public | :: | density | = | 0._R8P | Density, |
|
| real(kind=R8P), | public | :: | energy | = | 0._R8P | Energy, |
|
| type(vector), | public | :: | momentum | Momentum, |
Overload conservative_compressible name with its constructor.
| private elemental function conservative_compressible_instance(density, momentum, energy) | Return and instance of conservative_compressible. |
| procedure, public, pass(lhs) :: add | Operator |
| procedure, public, pass(self) :: array | Return serialized array of conservative. |
| generic, public :: assignment(=) => cons_assign_cons | Overload |
| procedure, public, pass(self) :: compute_fluxes | Compute conservative fluxes. |
| procedure, public, pass(self) :: compute_fluxes_from_primitive | Compute conservative fluxes from primitives at interface. |
| procedure, public, pass(lhs) :: cons_assign_cons | Operator |
| procedure, public, pass(lhs) :: cons_divide_real | Operator |
| procedure, public, pass(lhs) :: cons_multiply_cons | Operator |
| procedure, public, pass(lhs) :: cons_multiply_real | Operator |
| procedure, public, pass(self) :: description | Return pretty-printed object description. |
| procedure, public, pass(self) :: destroy | Destroy conservative. |
| procedure, public, pass(self) :: initialize | Initialize conservative. |
| procedure, public, pass(self) :: negative | Unary operator |
| generic, public :: operator(*) => cons_multiply_cons, cons_multiply_real, real_multiply_cons | Overload |
| generic, public :: operator(+) => add, positive | Overload |
| generic, public :: operator(-) => sub, negative | Overload |
| generic, public :: operator(/) => cons_divide_real | Overload |
| procedure, public, pass(self) :: positive | Unary operator |
| procedure, public, pass(self) :: pressure | Return pressure value. |
| procedure, public, pass(rhs) :: real_multiply_cons | Operator |
| procedure, public, pass(lhs) :: sub | Operator |
| procedure, public, pass(self) :: velocity | Return velocity vector. |
Operator +.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(conservative_compressible), | intent(in) | :: | lhs | Left hand side. |
||
| class(conservative_object), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Return serialized array of conservative.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(conservative_compressible), | intent(in) | :: | self | Conservative. |
Serialized array of conservative.
Operator cons / real.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(conservative_compressible), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator *.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(conservative_compressible), | intent(in) | :: | lhs | Left hand side. |
||
| class(conservative_object), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator cons * real.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(conservative_compressible), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Return and instance of conservative_compressible.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R8P), | intent(in), | optional | :: | density | Density, |
|
| type(vector), | intent(in), | optional | :: | momentum | Momentum, |
|
| real(kind=R8P), | intent(in), | optional | :: | energy | Energy, |
Instance of conservative_compressible.
Return conservative_compressible pointer associated to conservative_object or its extensions until conservative_compressible included.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(conservative_object), | intent(in), | target | :: | to | Target of associate. |
|
| character(len=*), | intent(in), | optional | :: | error_message | Auxiliary error message. |
Associated pointer.
Return a pretty-formatted object description.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(conservative_compressible), | intent(in) | :: | self | Conservative. |
||
| character(len=*), | intent(in), | optional | :: | prefix | Prefixing string. |
Description.
Unary operator - cons.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(conservative_compressible), | intent(in) | :: | self | Conservative. |
Operator result.
Unary operator + cons.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(conservative_compressible), | intent(in) | :: | self | Conservative. |
Operator result.
Return pressure value.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(conservative_compressible), | intent(in) | :: | self | Conservative. |
||
| class(eos_object), | intent(in) | :: | eos | Equation of state. |
Pressure value.
Operator real * cons.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R8P), | intent(in) | :: | lhs | Left hand side. |
||
| class(conservative_compressible), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator +.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(conservative_compressible), | intent(in) | :: | lhs | Left hand side. |
||
| class(conservative_object), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Return velocity vector.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(conservative_compressible), | intent(in) | :: | self | Conservative. |
Velocity vector.
Compute conservative fluxes.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(conservative_compressible), | intent(in) | :: | self | Conservative. |
||
| class(eos_object), | intent(in) | :: | eos | Equation of state. |
||
| type(vector), | intent(in) | :: | normal | Normal (versor) of face where fluxes are given. |
||
| class(conservative_object), | intent(out) | :: | fluxes | Conservative fluxes. |
Compute conservative fluxes from primitives at interface.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(conservative_compressible), | intent(inout) | :: | self | Conservative. |
||
| class(eos_object), | intent(in) | :: | eos | Equation of state. |
||
| real(kind=R8P), | intent(in) | :: | p | Pressure at interface. |
||
| real(kind=R8P), | intent(in) | :: | r | Density at interface. |
||
| real(kind=R8P), | intent(in) | :: | u | Velocity (normal component) at interface. |
||
| type(vector), | intent(in) | :: | normal | Normal (versor) of face where fluxes are given. |
Operator =.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(conservative_compressible), | intent(inout) | :: | lhs | Left hand side. |
||
| class(conservative_object), | intent(in) | :: | rhs | Right hand side. |
Destroy conservative.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(conservative_compressible), | intent(inout) | :: | self | Conservative. |
Initialize conservative.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(conservative_compressible), | intent(inout) | :: | self | Conservative. |
||
| class(conservative_object), | intent(in), | optional | :: | initial_state | Initial state. |