Itasca C++ Interface
Toggle main menu visibility
Loading...
Searching...
No Matches
iparametervalue.h
1
#pragma once
2
3
#include "shared/interface/itensordata.h"
4
5
namespace
fish {
6
// ParameterDesc - describes how to get a single value (double or string) from a parameter.
7
// Currently only works on a subset of parameter types.
8
// Note: List assumes list of doubles
9
enum class
TreatAs { Scalar,Vector,Any,Tensor,List,String };
10
#ifdef THREED
11
enum class
Component { X,Y,Z,Mag };
12
#else
13
enum class
Component { X, Y, Mag };
14
#endif
15
using
Quantity = shared::ITensorData::Quantity;
16
struct
ParameterValue
{
17
TreatAs treatAs_ = TreatAs::Scalar;
18
Component component_ = Component::Mag;
19
Quantity quantity_ = Quantity::XX;
20
uint64 listIndex_ = 0;
21
bool
stress_ =
false
;
22
};
23
}
24
// EoF
fish::ParameterValue
Definition
iparametervalue.h:16
common
fish
interface
iparametervalue.h
Generated by
1.18.0