MoDeNa
1.0
Software framework facilitating sequential multi-scale modelling
|
Public Member Functions | |
def | __init__ (self, args, kwargs) |
Constructor. | |
def | initKwargs (self, kwargs) |
Method that is overwritten by children. More... | |
def | indexSet (self, name) |
Method returning index for a specie in IndexSet. More... | |
def | checkVariableName (self, name) |
Method checking whether 'name' exists in the 'IndexSet'. | |
def | inputs_iterAll (self) |
Method returning an iterator over the SurrogateFunction inputs. More... | |
def | inputs_size (self) |
Method calculating the size of the input vector. More... | |
def | exceptionLoad (self, surrogateFunctionId) |
Method raising exception when a surrogate function is not instantiated. | |
def | load (self, surrogateFunctionId) |
Method loading a surrogate function from the database. More... | |
Static Public Attributes | |
name = StringField(primary_key=True) | |
inputs = MapField(EmbeddedDocumentField(MinMaxArgPosOpt)) | |
outputs = MapField(EmbeddedDocumentField(MinMaxArgPos)) | |
parameters = MapField(EmbeddedDocumentField(MinMaxArgPos)) | |
functionName = StringField(required=True) | |
libraryName = StringField(required=True) | |
indices = MapField(ReferenceField(IndexSet)) | |
dictionary | meta = {'allow_inheritance': True} |
Definition at line 372 of file SurrogateModel.py.
def python.SurrogateModel.SurrogateFunction.indexSet | ( | self, | |
name | |||
) |
Method returning index for a specie in IndexSet.
name | (str) Name of a specie in 'IndexSet'. |
Definition at line 453 of file SurrogateModel.py.
def python.SurrogateModel.SurrogateFunction.initKwargs | ( | self, | |
kwargs | |||
) |
Method that is overwritten by children.
Definition at line 444 of file SurrogateModel.py.
def python.SurrogateModel.SurrogateFunction.inputs_iterAll | ( | self | ) |
Method returning an iterator over the SurrogateFunction inputs.
Definition at line 467 of file SurrogateModel.py.
def python.SurrogateModel.SurrogateFunction.inputs_size | ( | self | ) |
Method calculating the size of the input vector.
Definition at line 478 of file SurrogateModel.py.
def python.SurrogateModel.SurrogateFunction.load | ( | self, | |
surrogateFunctionId | |||
) |
Method loading a surrogate function from the database.
surrogateFunctionId | (str) name ('_id') of a surrogate function. |
Definition at line 505 of file SurrogateModel.py.