OOPS
test Namespace Reference

Classes

class  Departures
 
class  DeparturesEnsemble
 
class  ErrorCovariance
 
class  ErrorCovarianceFixture
 
class  FullGMRES
 
class  Geometry
 
class  GeometryFixture
 Fixture used by tests of the Geometry and GeometryIterator interfaces. More...
 
class  GeometryIterator
 
class  GeometryTestParameters
 Parameters loaded from the input YAML file and used by GeometryFixture. More...
 
class  GeoVaLs
 
class  GeoVaLsFixture
 
class  GetValues
 
class  GetValuesFixture
 
class  Increment
 
class  IncrementFixture
 
class  InterpolationInterface
 
class  LinearGetValues
 
class  LinearGetValuesFixture
 
class  LinearModel
 
class  LinearModelFactory
 
class  LinearModelFixture
 
class  LinearObsOperator
 
class  LinearVariableChange
 
class  LinearVariableChangeFixture
 
class  Localization
 
class  LocalizationFixture
 
class  LocalObsSpace
 
class  Locations
 
class  Model
 
class  ModelAuxControl
 
class  ModelAuxControlFixture
 
class  ModelAuxCovariance
 
class  ModelAuxCovarianceFixture
 
class  ModelAuxIncrement
 
class  ModelAuxIncrementFixture
 
class  ModelFixture
 
class  Mpi
 
class  ObsAuxControl
 
class  ObsAuxCovariance
 
class  ObsAuxIncrement
 
class  ObsAuxIncrementFixture
 
class  ObsErrorCovariance
 
class  ObsOperator
 
class  ObsSpace
 
class  ObsTestsFixture
 
class  ObsVector
 
class  PostTimer
 
class  rotmat
 
class  SolveMatrixEquation
 
class  SpectralLMP
 
class  State
 
class  StateFixture
 
class  TestEnvironment
 TestEnvironment is a singleton that defines the unit testing enviroment. More...
 
struct  TestFixture
 
class  TestParameters
 
class  TestVector3D
 
class  TriDiagSolve
 
class  VariableChange
 
class  VariableChangeFixture
 
class  Variables
 
class  Vector3D
 
class  VerticalLocEV
 

Typedefs

typedef oops::DiagonalMatrix< Vector3DMatrix3D
 

Functions

 CASE ("test_linearmodelparameterswrapper_valid_name")
 
 CASE ("test_linearmodelparameterswrapper_invalid_name")
 
 CASE ("test_linearmodelfactory")
 
void test_FullGMRES_FullGMRES ()
 
 CASE ("assimilation/FullGMRES/FullGMRES")
 
void test_b_zero ()
 
void test_a_zero ()
 
void test_b_gt_a ()
 
void test_b_leq_a ()
 
 CASE ("assimilation/rotmat/b_zero")
 
 CASE ("assimilation/rotmat/a_zero")
 
 CASE ("assimilation/rotmat/b_gt_a")
 
 CASE ("assimilation/rotmat/b_leq_a")
 
template<typename MINIMIZER >
void test_SolveMatrixEquation (MINIMIZER minimizer)
 
 CASE ("assimilation/SolveMatrixEquation/FGMRES")
 
 CASE ("assimilation/SolveMatrixEquation/GMRESR")
 
 CASE ("assimilation/SolveMatrixEquation/MINRES")
 
 CASE ("assimilation/SolveMatrixEquation/IPCG")
 
 CASE ("assimilation/SolveMatrixEquation/PCG")
 
 CASE ("assimilation/SolveMatrixEquation/PLanczos")
 
void test_SpectralLMP (const eckit::LocalConfiguration &conf)
 
void test_Vector3D ()
 
 CASE ("assimilation/TestVector3D/Vector3D")
 
void test_TriDiagSolve ()
 
void test_blockTriDiagSolve ()
 
 CASE ("assimilation/TriDiagSolve/TriDiagSolve")
 
 CASE ("assimilation/TriDiagSolve/blockTriDiagSolve")
 
template<typename OBS >
void testDepartures ()
 
template<typename OBS >
void testDeparturesEnsemble ()
 
void test_vars_interface_f (const eckit::Configuration &, oops::Variables &)
 This is intended as a general interface for testing objects in the util namespace from Fortran. More...
 
template<typename OBS >
void testConstructor ()
 Tests creation and destruction of ObsErrorCovariances. More...
 
template<typename OBS >
void testMultiplies ()
 Tests that \(R*R^{-1}*dy = dy\) and \(R^{-1}*R*dy = dy\). More...
 
void testDefaultCtor ()
 
void testBgnEndCtor ()
 
void testConfCtor ()
 
void testCopyConstructor ()
 
void testFortranInterface ()
 
double testfunc (double lon, double lat, std::size_t jlev=1, std::size_t nlev=1)
 smooth function for testing interpolation More...
 
void testInterpolation ()
 Test C++ interface to interpolation implementations. More...
 
template<typename MODEL >
void testVerticalLocEV ()
 
template<typename MODEL >
void testErrorCovarianceZero ()
 
template<typename MODEL >
void testErrorCovarianceInverse ()
 
template<typename MODEL >
void testErrorCovarianceSym ()
 
template<typename MODEL >
void testCovarianceParametersWrapperValidName ()
 
template<typename MODEL >
void testCovarianceParametersWrapperInvalidName ()
 
template<typename MODEL >
void testCovarianceFactoryGetMakerNames ()
 
template<typename MODEL >
void testBasic ()
 Tests of Geometry::begin/end; GeometryIterator ctor and ==/!= operators. More...
 
template<typename MODEL >
void testGetSetLocal ()
 Test of GeometryIterator::operator++, Increment::getLocal and Increment::setLocal. More...
 
template<typename OBS >
void testUtils ()
 
template<typename OBS >
void testRead ()
 
template<typename MODEL , typename OBS >
void testGetValuesConstructor ()
 
template<typename MODEL , typename OBS >
void testGetValuesMultiWindow ()
 
template<typename MODEL , typename OBS >
void testGetValuesInterpolation ()
 Interpolation test. More...
 
template<typename MODEL >
void testIncrementConstructor ()
 
template<typename MODEL >
void testIncrementCopyConstructor ()
 
template<typename MODEL >
void testIncrementCopyBoolConstructor ()
 
template<typename MODEL >
void testIncrementChangeResConstructor ()
 
template<typename MODEL >
void testIncrementTriangle ()
 
template<typename MODEL >
void testIncrementOpPlusEq ()
 
template<typename MODEL >
void testIncrementDotProduct ()
 
template<typename MODEL >
void testIncrementZero ()
 
template<typename MODEL >
void testIncrementAxpy ()
 
template<typename MODEL >
void testIncrementAccum ()
 
template<typename MODEL >
void testIncrementSerialize ()
 
template<typename MODEL >
void testIncrementDiff ()
 
template<typename MODEL >
void testIncrementTime ()
 
template<typename MODEL >
void testIncrementSchur ()
 
template<typename MODEL , typename OBS >
void testLinearGetValuesConstructor ()
 
template<typename MODEL , typename OBS >
void testLinearGetValuesZeroPert ()
 
template<typename MODEL , typename OBS >
void testLinearGetValuesLinearity ()
 
template<typename MODEL , typename OBS >
void testLinearGetValuesLinearApproximation ()
 
template<typename MODEL , typename OBS >
void testLinearGetValuesAdjoint ()
 
template<typename MODEL >
void testLinearModelConstructor ()
 
template<typename MODEL >
void testLinearModelZeroLength ()
 
template<typename MODEL >
void testLinearModelZeroPert ()
 
template<typename MODEL >
void testLinearModelLinearity ()
 
template<typename MODEL >
void testLinearApproximation ()
 
template<typename MODEL >
void testLinearModelAdjoint ()
 
template<typename OBS >
void testLinearity ()
 
template<typename OBS >
void testAdjoint ()
 
template<typename OBS >
void testTangentLinear ()
 
template<typename MODEL >
void testLinearVariableChangeZero ()
 
template<typename MODEL >
void testLinearVariableChangeAdjoint ()
 
template<typename MODEL >
void testLinearVariableChangeInverse ()
 
template<typename MODEL >
void testLinearVariableChangeParametersWrapperValidName ()
 
template<typename MODEL >
void testLinearVariableChangeParametersWrapperInvalidName ()
 
template<typename MODEL >
void testLinearVariableChangeFactoryGetMakerNames ()
 
template<typename MODEL >
void testLocalizationZero ()
 
template<typename MODEL >
void testLocalizationMultiply ()
 
template<typename OBS >
void testLocalObsSpace ()
 Tests that number of local observations in LocalObsSpace is the same as in reference. More...
 
template<typename OBS >
void testLocalObsVector ()
 
template<typename MODEL >
void testModelConstructor ()
 
template<typename MODEL >
void testModelNoForecast ()
 
template<typename MODEL >
void testModelForecast ()
 
template<typename MODEL >
void testModelReForecast ()
 
template<typename MODEL >
void testChangeRes ()
 
template<typename MODEL >
void testModelAuxIncrementConstructor ()
 
template<typename MODEL >
void testModelAuxIncrementCopyConstructor ()
 
template<typename MODEL >
void testModelAuxIncrementChangeRes ()
 
template<typename MODEL >
void testModelAuxIncrementTriangle ()
 
template<typename MODEL >
void testModelAuxIncrementOpPlusEq ()
 
template<typename MODEL >
void testModelAuxIncrementDotProduct ()
 
template<typename MODEL >
void testModelAuxIncrementZero ()
 
template<typename MODEL >
void testModelAuxIncrementAxpy ()
 
template<typename OBS >
void testObsAuxIncrementConstructor ()
 
template<typename OBS >
void testObsAuxIncrementCopyConstructor ()
 
template<typename OBS >
void testObsAuxIncrementChangeRes ()
 
template<typename OBS >
void testObsAuxIncrementTriangle ()
 
template<typename OBS >
void testObsAuxIncrementOpPlusEq ()
 
template<typename OBS >
void testObsAuxIncrementDotProduct ()
 
template<typename OBS >
void testObsAuxIncrementZero ()
 
template<typename OBS >
void testObsAuxIncrementAxpy ()
 
template<typename OBS >
void testSimulateObs ()
 
template<typename OBS >
void testNotZero ()
 
template<typename OBS >
void testLinearAlgebra ()
 
template<typename OBS >
void testReadWrite ()
 
template<typename OBS >
void testPackEigen ()
 
template<typename MODEL >
void testStateConstructors ()
 
template<typename MODEL >
void testStateAnalyticInitialCondition ()
 Interpolation test. More...
 
template<typename MODEL >
void testStateZeroAndAccumul ()
 Tests of zero and accumul. More...
 
template<typename MODEL >
void testStateDateTime ()
 validTime and updateTime tests More...
 
template<typename MODEL >
void testStateReadWrite ()
 Read and write tests. More...
 
template<typename MODEL >
void testVariableChangeInverse ()
 
template<typename MODEL >
void testVariableChangeParametersWrapperValidName ()
 
template<typename MODEL >
void testVariableChangeParametersWrapperInvalidName ()
 
template<typename MODEL >
void testVariableChangeFactoryGetMakerNames ()
 
 CASE ("mpi/mpi/defaultCommunicators")
 
 CASE ("mpi/mpi/allGathervUsingSerialize")
 
 CASE ("mpi/mpi/SendReceive")
 
 CASE ("mpi/mpi/gatherSerializable")
 
 CASE ("mpi/mpi/gatherDouble")
 
 CASE ("mpi/mpi/allGatherEigen")
 

Typedef Documentation

◆ Matrix3D

Function Documentation

◆ CASE() [1/23]

test::CASE ( "assimilation/FullGMRES/FullGMRES )

Definition at line 56 of file test/assimilation/FullGMRES.h.

Here is the call graph for this function:

◆ CASE() [2/23]

test::CASE ( "assimilation/rotmat/a_zero"  )

Definition at line 79 of file test/assimilation/rotmat.h.

Here is the call graph for this function:

◆ CASE() [3/23]

test::CASE ( "assimilation/rotmat/b_gt_a"  )

Definition at line 83 of file test/assimilation/rotmat.h.

Here is the call graph for this function:

◆ CASE() [4/23]

test::CASE ( "assimilation/rotmat/b_leq_a"  )

Definition at line 87 of file test/assimilation/rotmat.h.

Here is the call graph for this function:

◆ CASE() [5/23]

test::CASE ( "assimilation/rotmat/b_zero"  )

Definition at line 75 of file test/assimilation/rotmat.h.

Here is the call graph for this function:

◆ CASE() [6/23]

test::CASE ( "assimilation/SolveMatrixEquation/FGMRES"  )

Definition at line 59 of file SolveMatrixEquation.h.

Here is the call graph for this function:

◆ CASE() [7/23]

test::CASE ( "assimilation/SolveMatrixEquation/GMRESR"  )

Definition at line 63 of file SolveMatrixEquation.h.

Here is the call graph for this function:

◆ CASE() [8/23]

test::CASE ( "assimilation/SolveMatrixEquation/IPCG"  )

Definition at line 71 of file SolveMatrixEquation.h.

Here is the call graph for this function:

◆ CASE() [9/23]

test::CASE ( "assimilation/SolveMatrixEquation/MINRES"  )

Definition at line 67 of file SolveMatrixEquation.h.

Here is the call graph for this function:

◆ CASE() [10/23]

test::CASE ( "assimilation/SolveMatrixEquation/PCG"  )

Definition at line 75 of file SolveMatrixEquation.h.

Here is the call graph for this function:

◆ CASE() [11/23]

test::CASE ( "assimilation/SolveMatrixEquation/PLanczos"  )

Definition at line 79 of file SolveMatrixEquation.h.

Here is the call graph for this function:

◆ CASE() [12/23]

test::CASE ( "assimilation/TestVector3D/Vector3D )

Definition at line 65 of file TestVector3D.h.

Here is the call graph for this function:

◆ CASE() [13/23]

test::CASE ( "assimilation/TriDiagSolve/blockTriDiagSolve"  )

Definition at line 88 of file test/assimilation/TriDiagSolve.h.

Here is the call graph for this function:

◆ CASE() [14/23]

test::CASE ( "assimilation/TriDiagSolve/TriDiagSolve )

Definition at line 84 of file test/assimilation/TriDiagSolve.h.

Here is the call graph for this function:

◆ CASE() [15/23]

test::CASE ( "mpi/mpi/allGatherEigen"  )

Definition at line 162 of file test/mpi/mpi.h.

Here is the call graph for this function:

◆ CASE() [16/23]

test::CASE ( "mpi/mpi/allGathervUsingSerialize"  )

Definition at line 54 of file test/mpi/mpi.h.

Here is the call graph for this function:

◆ CASE() [17/23]

test::CASE ( "mpi/mpi/defaultCommunicators"  )

Definition at line 44 of file test/mpi/mpi.h.

Here is the call graph for this function:

◆ CASE() [18/23]

test::CASE ( "mpi/mpi/gatherDouble"  )

Definition at line 134 of file test/mpi/mpi.h.

Here is the call graph for this function:

◆ CASE() [19/23]

test::CASE ( "mpi/mpi/gatherSerializable"  )

Definition at line 99 of file test/mpi/mpi.h.

Here is the call graph for this function:

◆ CASE() [20/23]

test::CASE ( "mpi/mpi/SendReceive"  )

Definition at line 76 of file test/mpi/mpi.h.

Here is the call graph for this function:

◆ CASE() [21/23]

test::CASE ( "test_linearmodelfactory"  )

Definition at line 37 of file LinearModelFactory.cc.

◆ CASE() [22/23]

test::CASE ( "test_linearmodelparameterswrapper_invalid_name"  )

Definition at line 28 of file LinearModelFactory.cc.

Here is the call graph for this function:

◆ CASE() [23/23]

test::CASE ( "test_linearmodelparameterswrapper_valid_name"  )

Definition at line 22 of file LinearModelFactory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_a_zero()

void test::test_a_zero ( )

Definition at line 36 of file test/assimilation/rotmat.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_b_gt_a()

void test::test_b_gt_a ( )

Definition at line 49 of file test/assimilation/rotmat.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_b_leq_a()

void test::test_b_leq_a ( )

Definition at line 62 of file test/assimilation/rotmat.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_b_zero()

void test::test_b_zero ( )

Definition at line 23 of file test/assimilation/rotmat.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_blockTriDiagSolve()

void test::test_blockTriDiagSolve ( )

Definition at line 40 of file test/assimilation/TriDiagSolve.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_FullGMRES_FullGMRES()

void test::test_FullGMRES_FullGMRES ( )

Definition at line 29 of file test/assimilation/FullGMRES.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_SolveMatrixEquation()

template<typename MINIMIZER >
void test::test_SolveMatrixEquation ( MINIMIZER  minimizer)

Definition at line 35 of file SolveMatrixEquation.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_SpectralLMP()

void test::test_SpectralLMP ( const eckit::LocalConfiguration &  conf)

Definition at line 31 of file test/assimilation/SpectralLMP.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_TriDiagSolve()

void test::test_TriDiagSolve ( )

Definition at line 26 of file test/assimilation/TriDiagSolve.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_vars_interface_f()

void test::test_vars_interface_f ( const eckit::Configuration &  ,
oops::Variables  
)

This is intended as a general interface for testing objects in the util namespace from Fortran.

Here is the caller graph for this function:

◆ test_Vector3D()

void test::test_Vector3D ( )

Definition at line 24 of file TestVector3D.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ testAdjoint()

template<typename OBS >
void test::testAdjoint ( )

Definition at line 136 of file test/interface/LinearObsOperator.h.

Here is the call graph for this function:

◆ testBasic()

template<typename MODEL >
void test::testBasic ( )

Tests of Geometry::begin/end; GeometryIterator ctor and ==/!= operators.

testBasic tests the following:

  1. Initialize GeometryIterator to Geometry::begin() and check equality
  2. Initialize GeometryIterator to Geometry::end() and check equality
  3. Check inequality of the two iterators
  4. Print out the begin iterator, to "test" print method

Definition at line 46 of file test/interface/GeometryIterator.h.

Here is the call graph for this function:

◆ testBgnEndCtor()

void test::testBgnEndCtor ( )

Definition at line 43 of file test/base/PostTimer.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ testChangeRes()

template<typename MODEL >
void test::testChangeRes ( )

Definition at line 92 of file test/interface/ModelAuxControl.h.

◆ testConfCtor()

void test::testConfCtor ( )

Definition at line 74 of file test/base/PostTimer.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ testConstructor()

template<typename OBS >
void test::testConstructor ( )

Tests creation and destruction of ObsErrorCovariances.

Definition at line 32 of file test/base/ObsErrorCovariance.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ testCopyConstructor()

void test::testCopyConstructor ( )

Definition at line 50 of file test/base/Variables.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ testCovarianceFactoryGetMakerNames()

template<typename MODEL >
void test::testCovarianceFactoryGetMakerNames ( )

Definition at line 199 of file test/interface/ErrorCovariance.h.

Here is the call graph for this function:

◆ testCovarianceParametersWrapperInvalidName()

template<typename MODEL >
void test::testCovarianceParametersWrapperInvalidName ( )

Definition at line 187 of file test/interface/ErrorCovariance.h.

◆ testCovarianceParametersWrapperValidName()

template<typename MODEL >
void test::testCovarianceParametersWrapperValidName ( )

Definition at line 179 of file test/interface/ErrorCovariance.h.

Here is the call graph for this function:

◆ testDefaultCtor()

void test::testDefaultCtor ( )

Definition at line 26 of file test/base/PostTimer.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ testDepartures()

template<typename OBS >
void test::testDepartures ( )

Definition at line 29 of file test/base/Departures.h.

◆ testDeparturesEnsemble()

template<typename OBS >
void test::testDeparturesEnsemble ( )

Definition at line 32 of file test/base/DeparturesEnsemble.h.

◆ testErrorCovarianceInverse()

template<typename MODEL >
void test::testErrorCovarianceInverse ( )

Definition at line 125 of file test/interface/ErrorCovariance.h.

◆ testErrorCovarianceSym()

template<typename MODEL >
void test::testErrorCovarianceSym ( )

Definition at line 153 of file test/interface/ErrorCovariance.h.

◆ testErrorCovarianceZero()

template<typename MODEL >
void test::testErrorCovarianceZero ( )

Definition at line 92 of file test/interface/ErrorCovariance.h.

◆ testFortranInterface()

void test::testFortranInterface ( )

Definition at line 66 of file test/base/Variables.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ testfunc()

double test::testfunc ( double  lon,
double  lat,
std::size_t  jlev = 1,
std::size_t  nlev = 1 
)

smooth function for testing interpolation

Definition at line 52 of file InterpolationInterface.h.

Here is the caller graph for this function:

◆ testGetSetLocal()

template<typename MODEL >
void test::testGetSetLocal ( )

Test of GeometryIterator::operator++, Increment::getLocal and Increment::setLocal.

testGetSetLocal tests the following:

Initialize dx1 to non-zero random values, initialize dx2 to zero. Loop through gridpoints using GeometryIterator operator++, assign dx2 to dx1 gridpoint by gridpoint using get/setLocal. Check that the two increments are the same in the end.

Definition at line 76 of file test/interface/GeometryIterator.h.

Here is the call graph for this function:

◆ testGetValuesConstructor()

template<typename MODEL , typename OBS >
void test::testGetValuesConstructor ( )

Definition at line 109 of file test/interface/GetValues.h.

◆ testGetValuesInterpolation()

template<typename MODEL , typename OBS >
void test::testGetValuesInterpolation ( )

Interpolation test.

testGetValuesInterpolation() tests the creation of an analytic state for a given model. The conceptual steps are as follows:

  1. Initialize the JEDI State object based on idealized analytic formulae
  2. Interpolate the State variables onto selected "observation" locations using the getValues() method of the State object. The result is placed in a JEDI GeoVaLs object
  3. Compute the correct solution by applying the analytic formulae directly at the observation locations.
  4. Assess the accuracy of the interpolation by comparing the interpolated values from Step 2 with the exact values from Step 3

The interpolated state values are compared to the analytic solution for a series of locations which includes values optionally specified by the user in the "state test" section of the config file in addition to a randomly-generated list of nrandom random locations. nrandom is also specified by the user in the "state test" section of the config file, as is the (nondimensional) tolerence level (interpolation tolerance) to be used for the tests.

Relevant parameters in the **State* section of the config file include

  • norm-gen Normalization test for the generated State
  • interpolation tolerance tolerance for the interpolation test
Date
April, 2018: M. Miesch (JCSDA) adapted a preliminary version in the feature/interp branch
Warning
Since this model compares the interpolated state values to an exact analytic solution, it requires that the "analytic_init" option be implemented in the model and selected in the "state.state generate" section of the config file.

Definition at line 185 of file test/interface/GetValues.h.

◆ testGetValuesMultiWindow()

template<typename MODEL , typename OBS >
void test::testGetValuesMultiWindow ( )

Definition at line 122 of file test/interface/GetValues.h.

◆ testIncrementAccum()

template<typename MODEL >
void test::testIncrementAccum ( )

Definition at line 260 of file test/interface/Increment.h.

◆ testIncrementAxpy()

template<typename MODEL >
void test::testIncrementAxpy ( )

Definition at line 240 of file test/interface/Increment.h.

◆ testIncrementChangeResConstructor()

template<typename MODEL >
void test::testIncrementChangeResConstructor ( )

Definition at line 138 of file test/interface/Increment.h.

◆ testIncrementConstructor()

template<typename MODEL >
void test::testIncrementConstructor ( )

Definition at line 90 of file test/interface/Increment.h.

◆ testIncrementCopyBoolConstructor()

template<typename MODEL >
void test::testIncrementCopyBoolConstructor ( )

Definition at line 119 of file test/interface/Increment.h.

◆ testIncrementCopyConstructor()

template<typename MODEL >
void test::testIncrementCopyConstructor ( )

Definition at line 101 of file test/interface/Increment.h.

◆ testIncrementDiff()

template<typename MODEL >
void test::testIncrementDiff ( )

Definition at line 346 of file test/interface/Increment.h.

◆ testIncrementDotProduct()

template<typename MODEL >
void test::testIncrementDotProduct ( )

Definition at line 195 of file test/interface/Increment.h.

◆ testIncrementOpPlusEq()

template<typename MODEL >
void test::testIncrementOpPlusEq ( )

Definition at line 177 of file test/interface/Increment.h.

◆ testIncrementSchur()

template<typename MODEL >
void test::testIncrementSchur ( )

Definition at line 409 of file test/interface/Increment.h.

◆ testIncrementSerialize()

template<typename MODEL >
void test::testIncrementSerialize ( )

Definition at line 310 of file test/interface/Increment.h.

◆ testIncrementTime()

template<typename MODEL >
void test::testIncrementTime ( )

Definition at line 390 of file test/interface/Increment.h.

◆ testIncrementTriangle()

template<typename MODEL >
void test::testIncrementTriangle ( )

Definition at line 152 of file test/interface/Increment.h.

◆ testIncrementZero()

template<typename MODEL >
void test::testIncrementZero ( )

Definition at line 213 of file test/interface/Increment.h.

◆ testInterpolation()

void test::testInterpolation ( )

Test C++ interface to interpolation implementations.

Now test the adjoint. But, skip this test for interpolators like atlas that have not yet implemented the adjoint

Definition at line 64 of file InterpolationInterface.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ testLinearAlgebra()

template<typename OBS >
void test::testLinearAlgebra ( )

Definition at line 94 of file test/interface/ObsVector.h.

◆ testLinearApproximation()

template<typename MODEL >
void test::testLinearApproximation ( )

Definition at line 258 of file test/interface/LinearModel.h.

Here is the call graph for this function:

◆ testLinearGetValuesAdjoint()

template<typename MODEL , typename OBS >
void test::testLinearGetValuesAdjoint ( )

Definition at line 268 of file test/interface/LinearGetValues.h.

◆ testLinearGetValuesConstructor()

template<typename MODEL , typename OBS >
void test::testLinearGetValuesConstructor ( )

Definition at line 135 of file test/interface/LinearGetValues.h.

◆ testLinearGetValuesLinearApproximation()

template<typename MODEL , typename OBS >
void test::testLinearGetValuesLinearApproximation ( )

Definition at line 206 of file test/interface/LinearGetValues.h.

◆ testLinearGetValuesLinearity()

template<typename MODEL , typename OBS >
void test::testLinearGetValuesLinearity ( )

Definition at line 174 of file test/interface/LinearGetValues.h.

◆ testLinearGetValuesZeroPert()

template<typename MODEL , typename OBS >
void test::testLinearGetValuesZeroPert ( )

Definition at line 149 of file test/interface/LinearGetValues.h.

◆ testLinearity()

template<typename OBS >
void test::testLinearity ( )

Definition at line 59 of file test/interface/LinearObsOperator.h.

Here is the call graph for this function:

◆ testLinearModelAdjoint()

template<typename MODEL >
void test::testLinearModelAdjoint ( )

Definition at line 317 of file test/interface/LinearModel.h.

◆ testLinearModelConstructor()

template<typename MODEL >
void test::testLinearModelConstructor ( )

Definition at line 152 of file test/interface/LinearModel.h.

◆ testLinearModelLinearity()

template<typename MODEL >
void test::testLinearModelLinearity ( )

Definition at line 223 of file test/interface/LinearModel.h.

◆ testLinearModelZeroLength()

template<typename MODEL >
void test::testLinearModelZeroLength ( )

Definition at line 161 of file test/interface/LinearModel.h.

◆ testLinearModelZeroPert()

template<typename MODEL >
void test::testLinearModelZeroPert ( )

Definition at line 193 of file test/interface/LinearModel.h.

◆ testLinearVariableChangeAdjoint()

template<typename MODEL >
void test::testLinearVariableChangeAdjoint ( )

Definition at line 132 of file test/interface/LinearVariableChange.h.

◆ testLinearVariableChangeFactoryGetMakerNames()

template<typename MODEL >
void test::testLinearVariableChangeFactoryGetMakerNames ( )

Definition at line 265 of file test/interface/LinearVariableChange.h.

Here is the call graph for this function:

◆ testLinearVariableChangeInverse()

template<typename MODEL >
void test::testLinearVariableChangeInverse ( )

Definition at line 198 of file test/interface/LinearVariableChange.h.

◆ testLinearVariableChangeParametersWrapperInvalidName()

template<typename MODEL >
void test::testLinearVariableChangeParametersWrapperInvalidName ( )

Definition at line 253 of file test/interface/LinearVariableChange.h.

◆ testLinearVariableChangeParametersWrapperValidName()

template<typename MODEL >
void test::testLinearVariableChangeParametersWrapperValidName ( )

Definition at line 243 of file test/interface/LinearVariableChange.h.

◆ testLinearVariableChangeZero()

template<typename MODEL >
void test::testLinearVariableChangeZero ( )

Definition at line 85 of file test/interface/LinearVariableChange.h.

◆ testLocalizationMultiply()

template<typename MODEL >
void test::testLocalizationMultiply ( )

Definition at line 93 of file test/interface/Localization.h.

◆ testLocalizationZero()

template<typename MODEL >
void test::testLocalizationZero ( )

Definition at line 80 of file test/interface/Localization.h.

◆ testLocalObsSpace()

template<typename OBS >
void test::testLocalObsSpace ( )

Tests that number of local observations in LocalObsSpace is the same as in reference.

Definition at line 30 of file LocalObsSpace.h.

Here is the call graph for this function:

◆ testLocalObsVector()

template<typename OBS >
void test::testLocalObsVector ( )

Tests that constructing local ObsVector from local ObsSpace by reading (ObsVector(const ObsSpace &, const std::string &) ctor), and by subsetting full ObsVector (ObsVector(const ObsSpace &, const ObsVector &) ctor) give the same results

Definition at line 69 of file LocalObsSpace.h.

Here is the call graph for this function:

◆ testModelAuxIncrementAxpy()

template<typename MODEL >
void test::testModelAuxIncrementAxpy ( )

Definition at line 199 of file test/interface/ModelAuxIncrement.h.

Here is the call graph for this function:

◆ testModelAuxIncrementChangeRes()

template<typename MODEL >
void test::testModelAuxIncrementChangeRes ( )

Definition at line 105 of file test/interface/ModelAuxIncrement.h.

Here is the call graph for this function:

◆ testModelAuxIncrementConstructor()

template<typename MODEL >
void test::testModelAuxIncrementConstructor ( )

Definition at line 76 of file test/interface/ModelAuxIncrement.h.

◆ testModelAuxIncrementCopyConstructor()

template<typename MODEL >
void test::testModelAuxIncrementCopyConstructor ( )

Definition at line 87 of file test/interface/ModelAuxIncrement.h.

Here is the call graph for this function:

◆ testModelAuxIncrementDotProduct()

template<typename MODEL >
void test::testModelAuxIncrementDotProduct ( )

Definition at line 166 of file test/interface/ModelAuxIncrement.h.

Here is the call graph for this function:

◆ testModelAuxIncrementOpPlusEq()

template<typename MODEL >
void test::testModelAuxIncrementOpPlusEq ( )

Definition at line 148 of file test/interface/ModelAuxIncrement.h.

Here is the call graph for this function:

◆ testModelAuxIncrementTriangle()

template<typename MODEL >
void test::testModelAuxIncrementTriangle ( )

Definition at line 123 of file test/interface/ModelAuxIncrement.h.

Here is the call graph for this function:

◆ testModelAuxIncrementZero()

template<typename MODEL >
void test::testModelAuxIncrementZero ( )

Definition at line 184 of file test/interface/ModelAuxIncrement.h.

Here is the call graph for this function:

◆ testModelConstructor()

template<typename MODEL >
void test::testModelConstructor ( )

Definition at line 94 of file test/interface/Model.h.

◆ testModelForecast()

template<typename MODEL >
void test::testModelForecast ( )

Definition at line 125 of file test/interface/Model.h.

◆ testModelNoForecast()

template<typename MODEL >
void test::testModelNoForecast ( )

Definition at line 103 of file test/interface/Model.h.

Here is the call graph for this function:

◆ testModelReForecast()

template<typename MODEL >
void test::testModelReForecast ( )

Definition at line 155 of file test/interface/Model.h.

◆ testMultiplies()

template<typename OBS >
void test::testMultiplies ( )

Tests that \(R*R^{-1}*dy = dy\) and \(R^{-1}*R*dy = dy\).

Definition at line 58 of file test/base/ObsErrorCovariance.h.

Here is the call graph for this function:

◆ testNotZero()

template<typename OBS >
void test::testNotZero ( )

Definition at line 73 of file test/interface/ObsVector.h.

◆ testObsAuxIncrementAxpy()

template<typename OBS >
void test::testObsAuxIncrementAxpy ( )

Definition at line 220 of file test/interface/ObsAuxIncrement.h.

Here is the call graph for this function:

◆ testObsAuxIncrementChangeRes()

template<typename OBS >
void test::testObsAuxIncrementChangeRes ( )

Definition at line 107 of file test/interface/ObsAuxIncrement.h.

Here is the call graph for this function:

◆ testObsAuxIncrementConstructor()

template<typename OBS >
void test::testObsAuxIncrementConstructor ( )

Definition at line 71 of file test/interface/ObsAuxIncrement.h.

◆ testObsAuxIncrementCopyConstructor()

template<typename OBS >
void test::testObsAuxIncrementCopyConstructor ( )

Definition at line 84 of file test/interface/ObsAuxIncrement.h.

Here is the call graph for this function:

◆ testObsAuxIncrementDotProduct()

template<typename OBS >
void test::testObsAuxIncrementDotProduct ( )

Definition at line 181 of file test/interface/ObsAuxIncrement.h.

Here is the call graph for this function:

◆ testObsAuxIncrementOpPlusEq()

template<typename OBS >
void test::testObsAuxIncrementOpPlusEq ( )

Definition at line 160 of file test/interface/ObsAuxIncrement.h.

Here is the call graph for this function:

◆ testObsAuxIncrementTriangle()

template<typename OBS >
void test::testObsAuxIncrementTriangle ( )

Definition at line 130 of file test/interface/ObsAuxIncrement.h.

Here is the call graph for this function:

◆ testObsAuxIncrementZero()

template<typename OBS >
void test::testObsAuxIncrementZero ( )

Definition at line 202 of file test/interface/ObsAuxIncrement.h.

Here is the call graph for this function:

◆ testPackEigen()

template<typename OBS >
void test::testPackEigen ( )

Definition at line 154 of file test/interface/ObsVector.h.

◆ testRead()

template<typename OBS >
void test::testRead ( )

Definition at line 160 of file test/interface/GeoVaLs.h.

◆ testReadWrite()

template<typename OBS >
void test::testReadWrite ( )

Definition at line 139 of file test/interface/ObsVector.h.

◆ testSimulateObs()

template<typename OBS >
void test::testSimulateObs ( )

Definition at line 55 of file test/interface/ObsOperator.h.

Here is the call graph for this function:

◆ testStateAnalyticInitialCondition()

template<typename MODEL >
void test::testStateAnalyticInitialCondition ( )

Interpolation test.

testStateAnalyticInitialCondition() tests the creation of an analytic state for a given model. The conceptual steps are as follows:

  1. Initialize the JEDI State object based on idealized analytic formulae
  2. Compare norm to precomputed norm

Relevant parameters in the **State* section of the config file include

  • norm-gen Normalization test for the generated State
Date
April, 2018: M. Miesch (JCSDA) adapted a preliminary version in the feature/interp branch
Warning
Since this model compares the interpolated state values to an exact analytic solution, it requires that the "analytic_init" option be implemented in the model and selected in the "state.state generate" section of the config file.

Definition at line 141 of file test/interface/State.h.

Here is the call graph for this function:

◆ testStateConstructors()

template<typename MODEL >
void test::testStateConstructors ( )

Definition at line 69 of file test/interface/State.h.

◆ testStateDateTime()

template<typename MODEL >
void test::testStateDateTime ( )

validTime and updateTime tests

testStateDateTime() tests the validTime and updateTime routines.

This is performed by updating the initial state time in two ways:

  • two lots of one hour,
  • one lot of two hours.

validTime is then used in the comparison of the two times obtained.

Definition at line 216 of file test/interface/State.h.

◆ testStateReadWrite()

template<typename MODEL >
void test::testStateReadWrite ( )

Read and write tests.

testStateReadWrite() tests reading and writing model state files.

The tests are as follows:

  1. Read an input file and check it sets a state correctly.
  2. Write an output file and read it in again, checking the states are the same.

Definition at line 254 of file test/interface/State.h.

Here is the call graph for this function:

◆ testStateZeroAndAccumul()

template<typename MODEL >
void test::testStateZeroAndAccumul ( )

Tests of zero and accumul.

testStateZeroAndAccumul tests the folllowing:

  1. Call State.zero() and check the resulting norm is indeed zero.
  2. Call State.accumul(), passing a multiplication factor and a second State as arguments, and verify that the resulting norm is as expected. Several multiplication factors are tested.

Definition at line 178 of file test/interface/State.h.

◆ testTangentLinear()

template<typename OBS >
void test::testTangentLinear ( )

Definition at line 215 of file test/interface/LinearObsOperator.h.

Here is the call graph for this function:

◆ testUtils()

template<typename OBS >
void test::testUtils ( )

Definition at line 83 of file test/interface/GeoVaLs.h.

◆ testVariableChangeFactoryGetMakerNames()

template<typename MODEL >
void test::testVariableChangeFactoryGetMakerNames ( )

Definition at line 147 of file test/interface/VariableChange.h.

Here is the call graph for this function:

◆ testVariableChangeInverse()

template<typename MODEL >
void test::testVariableChangeInverse ( )

Definition at line 71 of file test/interface/VariableChange.h.

◆ testVariableChangeParametersWrapperInvalidName()

template<typename MODEL >
void test::testVariableChangeParametersWrapperInvalidName ( )

Definition at line 135 of file test/interface/VariableChange.h.

◆ testVariableChangeParametersWrapperValidName()

template<typename MODEL >
void test::testVariableChangeParametersWrapperValidName ( )

Definition at line 125 of file test/interface/VariableChange.h.

◆ testVerticalLocEV()

template<typename MODEL >
void test::testVerticalLocEV ( )

Definition at line 41 of file test/generic/VerticalLocEV.h.

Here is the call graph for this function: