Package xppy.parser.parse
Detailed Description
This file is part of XPPy.
XPPy is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
XPPy is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with XPPy. If not, see <http://www.gnu.org/licenses/>.
Function Documentation
def xppy.parser.parse.change_ode |
( |
|
ode_file = tmp_ode , |
|
|
|
new_pars = [] | |
|
) |
| | |
Function changes the parameters and initial conditions specified in
new_pars in given ode_file.
def xppy.parser.parse.change_set |
( |
|
set_file, |
|
|
|
new_pars | |
|
) |
| | |
Function changes the parameters and initial conditions specified in
new_pars in given ode_file.
def xppy.parser.parse.changeOde |
( |
|
new_pars, |
|
|
|
ode_file = tmp_ode | |
|
) |
| | |
Function changes the parameters, initial conditions and options specified in
new_pars in given ode_file.
def xppy.parser.parse.changeSet |
( |
|
new_pars, |
|
|
|
set_file = tmp_set | |
|
) |
| | |
Function changes the parameters and initial conditions specified in
new_pars in given ode_file.
def xppy.parser.parse.comparePars |
( |
|
pars1, |
|
|
|
pars2 | |
|
) |
| | |
Function compares two lists of parameters and returns the difference
def xppy.parser.parse.readOdePars |
( |
|
ode_file = tmp_ode , |
|
|
|
read_par = True , |
|
|
|
read_init = True , |
|
|
|
read_opt = True | |
|
) |
| | |
Function reads the parameters and initial conditions and options
from ode_file and returns parameters list. By default all the values
are read; the read of a specific type can be suppressed by changing
the appropriate flag to False.
def xppy.parser.parse.readOdeVars |
( |
|
ode_file = tmp_ode |
) |
|
Function reads the variables names from ode_file (including auxiliary
variables) and returns a data descriptor dictionary; the numbers represent
columns in the output.dat file.
def xppy.parser.parse.readSetPars |
( |
|
set_file = tmp_set , |
|
|
|
read_par = True , |
|
|
|
read_init = True | |
|
) |
| | |
Function reads the parameters and initial conditions
from set_file and returns parameters list. By default all the values
are read; the read of a specific type can be suppressed by changing
the appropriate flag to False.