Ice Sheet System Model
4.18
Code documentation
src
c
classes
DependentObject.h
Go to the documentation of this file.
1
5
#ifndef _DEPENDENTOBJECT_H_
6
#define _DEPENDENTOBJECT_H_
7
8
/*{{{*/
9
#include "../datastructures/datastructures.h"
10
#include "../shared/shared.h"
11
/*}}}*/
12
13
class
FemModel
;
14
15
class
DependentObject
:
public
Object
{
16
17
public
:
18
19
char
*
name
;
20
int
type
;
/*0: scalar, 1: vertex*/
21
int
index
;
/*0: scalar, 1: vertex*/
22
IssmDouble
response_value
;
23
24
/*DependentObject constructors, destructors */
25
DependentObject
();
26
DependentObject
(
char
*
name
,
int
type
,
int
index
);
27
DependentObject
(
char
*
name
,
int
type
,
int
index
,
IssmDouble
in_response);
28
~DependentObject
();
29
30
/*Object virtual functions definitions*/
31
Object
*
copy
(
void
);
32
void
DeepEcho
();
33
void
Echo
();
34
int
Id
();
35
int
ObjectEnum
();
36
void
Marshall
(
char
** pmarshalled_data,
int
* pmarshalled_data_size,
int
marshall_direction){
_error_
(
"not implemented yet!"
); };
37
38
/*DependentObject methods: */
39
int
NumDependents
(
void
);
40
void
Responsex
(
IssmDouble
* poutput_value,
FemModel
*
femmodel
);
41
IssmDouble
GetValue
(
void
);
42
void
AddValue
(
IssmDouble
in_value);
43
void
ResetResponseValue
(
void
);
44
45
};
46
#endif //ifndef _DEPENDENTOBJECT_H_
DependentObject::Echo
void Echo()
Definition:
DependentObject.cpp:58
IssmDouble
double IssmDouble
Definition:
types.h:37
DependentObject::Marshall
void Marshall(char **pmarshalled_data, int *pmarshalled_data_size, int marshall_direction)
Definition:
DependentObject.h:36
DependentObject::type
int type
Definition:
DependentObject.h:20
DependentObject::copy
Object * copy(void)
Definition:
DependentObject.cpp:51
DependentObject::AddValue
void AddValue(IssmDouble in_value)
Definition:
DependentObject.cpp:106
Object
Definition:
Object.h:13
DependentObject
Definition:
DependentObject.h:15
DependentObject::name
char * name
Definition:
DependentObject.h:19
DependentObject::Responsex
void Responsex(IssmDouble *poutput_value, FemModel *femmodel)
Definition:
DependentObject.cpp:93
FemModel
Definition:
FemModel.h:31
DependentObject::ObjectEnum
int ObjectEnum()
Definition:
DependentObject.cpp:73
DependentObject::response_value
IssmDouble response_value
Definition:
DependentObject.h:22
_error_
#define _error_(StreamArgs)
Definition:
exceptions.h:49
DependentObject::DependentObject
DependentObject()
Definition:
DependentObject.cpp:16
DependentObject::Id
int Id()
Definition:
DependentObject.cpp:71
DependentObject::ResetResponseValue
void ResetResponseValue(void)
Definition:
DependentObject.cpp:110
DependentObject::NumDependents
int NumDependents(void)
Definition:
DependentObject.cpp:81
DependentObject::GetValue
IssmDouble GetValue(void)
Definition:
DependentObject.cpp:102
DependentObject::~DependentObject
~DependentObject()
Definition:
DependentObject.cpp:45
DependentObject::index
int index
Definition:
DependentObject.h:21
DependentObject::DeepEcho
void DeepEcho()
Definition:
DependentObject.cpp:54
femmodel
FemModel * femmodel
Definition:
esmfbinders.cpp:16
Generated on Thu Jul 2 2020 08:09:16 for Ice Sheet System Model by
1.8.19