SOCA
soca_model2geovals_mod_c Module Reference

C++ interface for converting model variables to geovals (mostly identity function) More...

Functions/Subroutines

subroutine soca_model2geovals_linear_changevar_f90 (c_key_geom, c_key_dxin, c_key_dxout)
 C++ interface for linear change of variables from model to geovals. More...
 
subroutine soca_model2geovals_linear_changevarad_f90 (c_key_geom, c_key_dxin, c_key_dxout)
 C++ interface for linear change of variables from geovals to model. More...
 
subroutine soca_model2geovals_changevar_f90 (c_key_geom, c_key_xin, c_key_xout)
 C++ interface for the non-linear change of variables from model to geovals. More...
 

Detailed Description

C++ interface for converting model variables to geovals (mostly identity function)

Function/Subroutine Documentation

◆ soca_model2geovals_changevar_f90()

subroutine soca_model2geovals_mod_c::soca_model2geovals_changevar_f90 ( integer(c_int), intent(in)  c_key_geom,
integer(c_int), intent(in)  c_key_xin,
integer(c_int), intent(in)  c_key_xout 
)
private

C++ interface for the non-linear change of variables from model to geovals.

This is mostly an identity operator, except for a small number of derived variables that are to be calculated here ("distance_from_coast", "sea_area_fraction", etc.)

Exceptions
abor1_ftnaborts if field name is not handled.

Definition at line 108 of file Model2GeoVaLs.F90.

◆ soca_model2geovals_linear_changevar_f90()

subroutine soca_model2geovals_mod_c::soca_model2geovals_linear_changevar_f90 ( integer(c_int), intent(in)  c_key_geom,
integer(c_int), intent(in)  c_key_dxin,
integer(c_int), intent(in)  c_key_dxout 
)
private

C++ interface for linear change of variables from model to geovals.

Only the identity operator is needed for the linear variables

Exceptions
abor1_ftnaborts if the field name cannot be in the "getval_name*" section of the variable metadata

Definition at line 36 of file Model2GeoVaLs.F90.

◆ soca_model2geovals_linear_changevarad_f90()

subroutine soca_model2geovals_mod_c::soca_model2geovals_linear_changevarad_f90 ( integer(c_int), intent(in)  c_key_geom,
integer(c_int), intent(in)  c_key_dxin,
integer(c_int), intent(in)  c_key_dxout 
)
private

C++ interface for linear change of variables from geovals to model.

Only the identity operator is need for the linear variables.

Exceptions
abor1_ftnaborts if the field name cannot be in the "getval_name*" section of the variable metadata

Definition at line 72 of file Model2GeoVaLs.F90.