Free conditions object class.
Define the conditions of the free stream.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(error_object), | public | :: | error | Errors handler. |
|||
type(vector), | public | :: | velocity | Velocity. |
Overload =
.
Operator =
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(free_conditions_object), | intent(inout) | :: | lhs | Left hand side. |
||
type(free_conditions_object), | intent(in) | :: | rhs | Right hand side. |
Return a pretty-formatted description of the free conditions.
Return a pretty-formatted description of the free conditions.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(free_conditions_object), | intent(in) | :: | self | Free conditions. |
||
character(len=*), | intent(in), | optional | :: | prefix | Prefixing string. |
Description.
Destroy free conditions.
Destroy free conditions.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(free_conditions_object), | intent(inout) | :: | self | Free conditions. |
Operator =
.
Operator =
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(free_conditions_object), | intent(inout) | :: | lhs | Left hand side. |
||
type(free_conditions_object), | intent(in) | :: | rhs | Right hand side. |
Initialize free conditions.
Initialize free conditions.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(free_conditions_object), | intent(inout) | :: | self | Free conditions. |
Load from file.
Load from file.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(free_conditions_object), | intent(inout) | :: | self | Free conditions. |
||
type(file_ini), | intent(in) | :: | fini | Simulation parameters ini file handler. |
||
logical, | intent(in), | optional | :: | go_on_fail | Go on if load fails. |
Save into file.
Save into file.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(free_conditions_object), | intent(inout) | :: | self | Free conditions. |
||
type(file_ini), | intent(inout) | :: | fini | Simulation parameters ini file handler. |
type :: free_conditions_object
!< Free conditions object class.
!<
!< Define the conditions of the **free stream**.
type(error_object) :: error !< Errors handler.
type(vector) :: velocity !< Velocity.
contains
! public methods
procedure, pass(self) :: description !< Return a pretty-formatted description of the free conditions.
procedure, pass(self) :: destroy !< Destroy free conditions.
procedure, pass(self) :: initialize !< Initialize free conditions.
procedure, pass(self) :: load_from_file !< Load from file.
procedure, pass(self) :: save_into_file !< Save into file.
! operators
generic :: assignment(=) => free_assign_free !< Overload `=`.
! private methods
procedure, pass(lhs) :: free_assign_free !< Operator `=`.
endtype free_conditions_object