You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current tests in test_cam_interface.f90 test whether SAM_var_conversion is the left inverse of CAM_var_conversion, i.e., if f = CAM_var_conversion : CAM -> SAM and g = SAM_var_conversion : SAM -> CAM then we have tests that g . f = id, e.g.:
There is then an opportunity to test whether CAM_var_conversion is also the weak left inverse of SAM_var_conversion by checking f . g . f = f (this is sometimes called a 'semigroup inverse').
All we would need to do is save the outputs from the version conversion f and compare those with the results after an extra CAM_var_conversion.
The text was updated successfully, but these errors were encountered:
Current tests in
test_cam_interface.f90
test whetherSAM_var_conversion
is the left inverse ofCAM_var_conversion
, i.e., iff = CAM_var_conversion : CAM -> SAM
andg = SAM_var_conversion : SAM -> CAM
then we have tests thatg . f = id
, e.g.:There is then an opportunity to test whether
CAM_var_conversion
is also the weak left inverse ofSAM_var_conversion
by checkingf . g . f = f
(this is sometimes called a 'semigroup inverse').All we would need to do is save the outputs from the version conversion
f
and compare those with the results after an extraCAM_var_conversion
.The text was updated successfully, but these errors were encountered: