![]() |
MoDeNa
1.0
Software framework facilitating sequential multi-scale modelling
|
Inheritance diagram for python.SurrogateModel.IndexSet:Public Member Functions | |
| def | __init__ (self, args, kwargs) |
| def | get_name (self, index) |
| Method obtaining name of a specie in the index set. More... | |
| def | get_index (self, name) |
| Method obtaining index for a specie in the index set. More... | |
| def | iterator_end (self) |
| Method returning length of the "names" list. More... | |
| def | iterator_size (self) |
| Method returning length of the "names" list. More... | |
| def | exceptionLoad (self, indexSetId) |
| Method raising a exception when a surrogate model has not been instantiated. | |
| def | load (self, indexSetId) |
| Method loading a index set object from the database. More... | |
Static Public Attributes | |
| name = StringField(primary_key=True) | |
| names = ListField(StringField(required=True)) | |
| dictionary | meta = {'allow_inheritance': True} |
Definition at line 159 of file SurrogateModel.py.
| def python.SurrogateModel.IndexSet.get_index | ( | self, | |
| name | |||
| ) |
Method obtaining index for a specie in the index set.
| name | (str) name of a specie in the index set. |
Definition at line 196 of file SurrogateModel.py.
| def python.SurrogateModel.IndexSet.get_name | ( | self, | |
| index | |||
| ) |
Method obtaining name of a specie in the index set.
| index | (int) index for of a specie in the index set. |
Definition at line 183 of file SurrogateModel.py.
| def python.SurrogateModel.IndexSet.iterator_end | ( | self | ) |
Method returning length of the "names" list.
Definition at line 205 of file SurrogateModel.py.
| def python.SurrogateModel.IndexSet.iterator_size | ( | self | ) |
Method returning length of the "names" list.
Definition at line 211 of file SurrogateModel.py.
| def python.SurrogateModel.IndexSet.load | ( | self, | |
| indexSetId | |||
| ) |
Method loading a index set object from the database.
| indexSetId | (str) id of the index set that is to be loaded. |
Definition at line 229 of file SurrogateModel.py.