doc:user:tutorials:tuto1
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
doc:user:tutorials:tuto1 [2015/02/13 12:07] – [Boundary Conditions] ziane | doc:user:tutorials:tuto1 [2016/07/11 15:47] – boemer | ||
---|---|---|---|
Line 49: | Line 49: | ||
The first line imports the Python/C++ interface of Metafor (called '' | The first line imports the Python/C++ interface of Metafor (called '' | ||
- | The '' | + | The '' |
metafor = Metafor() | metafor = Metafor() | ||
domain = metafor.getDomain() | domain = metafor.getDomain() | ||
- | The main object of the module | + | The main object of the module is now created as an instance of the '' |
The analysis will then handle data from this domain to, for example, integrate temporally over its evolution equations. | The analysis will then handle data from this domain to, for example, integrate temporally over its evolution equations. | ||
Line 134: | Line 134: | ||
* Bigger objects which require more arguments, like curves, are defined using a temporary object, which is filled and copied. For example, a curve is created by first defining a line (see below). | * Bigger objects which require more arguments, like curves, are defined using a temporary object, which is filled and copied. For example, a curve is created by first defining a line (see below). | ||
- | In this example, '' | + | In this example, '' |
Line 419: | Line 419: | ||
valuesmanager = metafor.getValuesManager() | valuesmanager = metafor.getValuesManager() | ||
valuesmanager.add(1, | valuesmanager.add(1, | ||
- | valuesmanager.add(2, | + | valuesmanager.add(2, |
The first line fetches the '' | The first line fetches the '' |
doc/user/tutorials/tuto1.txt · Last modified: 2016/07/11 16:45 by boemer