MONC
components
petsc_solver
src
petsc_solver_stub.F90
Go to the documentation of this file.
1
2
module
petsc_solver_mod
3
use
monc_component_mod
,
only
:
component_descriptor_type
4
implicit none
5
6
#ifndef TEST_MODE
7
private
8
#endif
9
10
public
petsc_solver_get_descriptor
11
contains
12
15
type
(component_descriptor_type) function petsc_solver_get_descriptor()
16
petsc_solver_get_descriptor%name=
"petsc_solver"
17
petsc_solver_get_descriptor%version=0.0
18
end function
petsc_solver_get_descriptor
19
end module
petsc_solver_mod
monc_component_mod
Interfaces and types that MONC components must specify.
Definition:
monc_component.F90:6
petsc_solver_mod
PETSc solver component to call out to PETSc for solving the Poisson equation for pressure.
Definition:
petsc_solver.F90:6
monc_component_mod::component_descriptor_type
Description of a component.
Definition:
monc_component.F90:42
petsc_solver_mod::petsc_solver_get_descriptor
type(component_descriptor_type) function, public petsc_solver_get_descriptor()
Provides the descriptor back to the caller and is used in component registration.
Definition:
petsc_solver.F90:44
Generated by
1.8.20