TUV-x
Loading...
Searching...
No Matches
Functions/Subroutines
tuvx_solver_factory Module Reference

Builds solver_t objects for use in radiative transfer calculations. More...

Functions/Subroutines

class(solver_t) function, pointer, public solver_builder (config, grid_warehouse, profile_warehouse)
 Builder of solver_t objects. More...
 
type(string_t) function, public solver_type_name (solver)
 Returns the type of a solver as a string. More...
 
class(solver_t) function, pointer, public solver_allocate (type_name)
 Allocates a solver pointer as a subclass by type name. More...
 

Detailed Description

Builds solver_t objects for use in radiative transfer calculations.

Function/Subroutine Documentation

◆ solver_allocate()

class(solver_t) function, pointer, public tuvx_solver_factory::solver_allocate ( type(string_t), intent(in)  type_name)

Allocates a solver pointer as a subclass by type name.

Parameters
[in]type_nameName of the type to allocate
Returns
Allocated, uninitialized solver

◆ solver_builder()

class(solver_t) function, pointer, public tuvx_solver_factory::solver_builder ( type(config_t), intent(inout)  config,
type(grid_warehouse_t), intent(in)  grid_warehouse,
type(profile_warehouse_t), intent(in)  profile_warehouse 
)

Builder of solver_t objects.

Parameters
[in,out]configSolver configuration
Returns
Configured solver
Parameters
[in]grid_warehouseGrid warehouse
[in]profile_warehouseProfile warehouse

◆ solver_type_name()

type(string_t) function, public tuvx_solver_factory::solver_type_name ( class(solver_t), intent(in)  solver)

Returns the type of a solver as a string.

Parameters
[in]solverSolver to return type name for