File: parameterNamesObservation.h

package info (click to toggle)
groops 0%2Bgit20250907%2Bds-1
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid
  • size: 11,140 kB
  • sloc: cpp: 135,607; fortran: 1,603; makefile: 20
file content (56 lines) | stat: -rw-r--r-- 1,379 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/***********************************************/
/**
* @file parameterNamesObservation.h
*
* @brief Parameter names from observation equations.
*
* @author Torsten Mayer-Guerr
* @date 2020-05-29
*/
/***********************************************/

#ifndef __GROOPS_PARAMETERNAMESOBSERVATION__
#define __GROOPS_PARAMETERNAMESOBSERVATION__

// Latex documentation
static const char *docstringParameterNamesObservation = R"(
\subsection{Observation}
Parameter names used in \configClass{observation equations}{observationType}.
)";

/***********************************************/

#include "base/import.h"
#include "config/config.h"
#include "classes/observation/observation.h"
#include "classes/parameterNames/parameterNames.h"

/***** CLASS ***********************************/

/** @brief Parameter names from observation equations.
* @ingroup parameterNamesGroup
* @see ParameterNames */
class ParameterNamesObservation : public ParameterNamesBase
{
public:
  ParameterNamesObservation(Config &config)
  {
    try
    {
      ObservationPtr observation;

      readConfig(config, "observation", observation, Config::MUSTSET,  "",  "");
      if(isCreateSchema(config)) return;

      observation->parameterName(names);
    }
    catch(std::exception &e)
    {
      GROOPS_RETHROW(e)
    }
  }
};

/***********************************************/

#endif /* __GROOPS__ */