Generic FOODIE test object.
Test is driven by the Command Line Interface (CLI) options.
Test has only 1 public method execute
: it executes test(s) accordingly to cli options.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=R_P), | private, | allocatable | :: | Dt(:) | Time step(s) exercised. |
||
type(command_line_interface), | private | :: | cli | Command line interface handler. |
|||
integer(kind=I_P), | private | :: | error | Error handler. |
|||
real(kind=R_P), | private | :: | final_time | Final integration time. |
|||
integer(kind=I_P), | private | :: | implicit_iterations | Number of iterations (implicit solvers). |
|||
class(integrand_tester_object), | private, | allocatable | :: | integrand_0 | Initial conditions. |
||
logical, | private | :: | is_fast | Flag for activating fast schemes. |
|||
type(integrand_ladvection), | private | :: | ladvection_0 | Initial conditions for linear advection test. |
|||
type(integrand_lcce), | private | :: | lcce_0 | Initial conditions for linear constant coefficients eq. |
|||
type(integrand_oscillation), | private | :: | oscillation_0 | Initial conditions for oscillation test. |
|||
character(len=99), | private | :: | output | Output files basename. |
|||
integer(kind=I_P), | private | :: | save_frequency | Save frequency. |
|||
logical, | private | :: | save_results | Flag for activating results saving. |
|||
character(len=99), | private | :: | scheme | Scheme used. |
|||
integer(kind=I_P), | private | :: | stages | Number of stages. |
Execute selected test(s).
Execute test(s).
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(test_object), | intent(inout) | :: | self | Test. |
Initialize test: set Command Line Interface, parse it and check its validity.
Initialize test: set Command Line Interface, parse it and check its validity.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(test_object), | intent(inout) | :: | self | Test. |
type :: test_object
!< Generic FOODIE test object.
!<
!< Test is driven by the Command Line Interface (CLI) options.
!<
!< Test has only 1 public method `execute`: it executes test(s) accordingly to cli options.
private
type(command_line_interface) :: cli !< Command line interface handler.
integer(I_P) :: error !< Error handler.
character(99) :: scheme !< Scheme used.
real(R_P), allocatable :: Dt(:) !< Time step(s) exercised.
logical :: is_fast !< Flag for activating fast schemes.
integer(I_P) :: implicit_iterations !< Number of iterations (implicit solvers).
integer(I_P) :: stages !< Number of stages.
real(R_P) :: final_time !< Final integration time.
logical :: save_results !< Flag for activating results saving.
character(99) :: output !< Output files basename.
integer(I_P) :: save_frequency !< Save frequency.
type(integrand_lcce) :: lcce_0 !< Initial conditions for linear constant coefficients eq.
type(integrand_ladvection) :: ladvection_0 !< Initial conditions for linear advection test.
type(integrand_oscillation) :: oscillation_0 !< Initial conditions for oscillation test.
class(integrand_tester_object), allocatable :: integrand_0 !< Initial conditions.
contains
! public methods
procedure, pass(self) :: execute !< Execute selected test(s).
! private methods
procedure, pass(self), private :: initialize !< Initialize test: set Command Line Interface, parse it and check its validity.
endtype test_object