ReFRACtor
cost_func_diff_state.h
Go to the documentation of this file.
1
#ifndef COST_FUNC_DIFF_STATE_H
2
#define COST_FUNC_DIFF_STATE_H
3
#include <
cost_func_state.h
>
4
5
namespace
FullPhysics
{
6
7
//-----------------------------------------------------------------------
16
//-----------------------------------------------------------------------
17
18
class
CostFuncDiffState
:
19
public
CostFuncState
{
20
21
public
:
22
23
24
//-----------------------------------------------------------------------
26
//-----------------------------------------------------------------------
27
28
CostFuncDiffState
() {}
29
30
31
//-----------------------------------------------------------------------
36
//-----------------------------------------------------------------------
37
38
CostFuncDiffState
(
const
CostFuncDiffState
&
s
)
39
{
set
(
s
); }
40
41
42
virtual
~CostFuncDiffState
() {}
43
44
45
//-----------------------------------------------------------------------
53
//-----------------------------------------------------------------------
54
55
virtual
void
set
(
const
CostFuncDiffState
&
s
);
56
57
58
//-----------------------------------------------------------------------
64
//-----------------------------------------------------------------------
65
66
virtual
void
clear
()
67
{
CostFuncState::clear
();
G
.free(); }
68
69
70
//-----------------------------------------------------------------------
72
//-----------------------------------------------------------------------
73
74
virtual
void
print
(std::ostream& Os)
const
75
{ Os <<
"CostFuncDiffState"
; }
76
77
78
protected
:
79
80
blitz::Array<double, 1>
G
;
81
82
};
83
}
84
#endif
FullPhysics::CostFuncDiffState::CostFuncDiffState
CostFuncDiffState(const CostFuncDiffState &s)
Copy constructor.
Definition:
cost_func_diff_state.h:38
FullPhysics::units::s
const Unit s("s", 1.0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0)
FullPhysics::CostFuncState
The state for a problem that only its cost function is implemented.
Definition:
cost_func_state.h:17
FullPhysics::CostFuncDiffState::CostFuncDiffState
CostFuncDiffState()
Default constructor.
Definition:
cost_func_diff_state.h:28
FullPhysics::CostFuncDiffState::G
blitz::Array< double, 1 > G
Definition:
cost_func_diff_state.h:80
cost_func_state.h
FullPhysics::CostFuncDiffState
The state for a problem with implemented cost function and its gradient.
Definition:
cost_func_diff_state.h:18
FullPhysics::CostFuncDiffState::print
virtual void print(std::ostream &Os) const
Prints description of object.
Definition:
cost_func_diff_state.h:74
FullPhysics::CostFuncDiffState::clear
virtual void clear()
Deletes data contents.
Definition:
cost_func_diff_state.h:66
FullPhysics
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition:
doxygen_python.h:1
FullPhysics::CostFuncDiffState::~CostFuncDiffState
virtual ~CostFuncDiffState()
Definition:
cost_func_diff_state.h:42
FullPhysics::CostFuncState::clear
virtual void clear()
Deletes data contents.
Definition:
cost_func_state.h:65
Copyright © 2017, California Institute of Technology.
ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledged.
Generated Fri Aug 24 2018 15:44:10