Did I find the right examples for you? yes no

All Samples(15)  |  Call(7)  |  Derive(0)  |  Import(8)

src/a/s/Assimulo-2.5.1/assimulo/examples/mech_system_pendulum.py   Assimulo(Download)
import numpy as N
import scipy.linalg as sl
from assimulo.solvers import IDA, ODASSL
 
 
def run_example(index, with_plots=True, with_test=False):
    my_pend_sys=pendulum()
    my_pend=my_pend_sys.generate_problem(index)
    my_pend.name='Index = {}'.format(index)
    dae_pend = IDA(my_pend) if index not in ('ovstab2','ovstab1') else ODASSL(my_pend)

src/a/s/Assimulo-2.5.1/assimulo/examples/ida_with_parameters.py   Assimulo(Download)
import pylab as P
import nose
from assimulo.solvers import IDA
from assimulo.problem import Implicit_Problem
 
 
    #Create an Assimulo implicit solver (IDA)
    imp_sim = IDA(imp_mod) #Create a IDA solver
 
    #Sets the paramters

src/a/s/Assimulo-2.5.1/assimulo/examples/ida_with_jac_spgmr.py   Assimulo(Download)
import pylab as P
import nose
from assimulo.solvers import IDA
from assimulo.problem import Implicit_Problem
 
    imp_mod.jacv = jacv #Sets the jacobian
 
    imp_sim = IDA(imp_mod) #Create an IDA solver instance
 
    #Set the parameters

src/a/s/Assimulo-2.5.1/assimulo/examples/ida_with_jac.py   Assimulo(Download)
import numpy as N
import pylab as P
from assimulo.solvers import IDA
from assimulo.problem import Implicit_Problem
import nose
 
    #Create an Assimulo implicit solver (IDA)
    imp_sim = IDA(imp_mod) #Create a IDA solver
 
    #Sets the paramters

src/a/s/Assimulo-2.5.1/assimulo/examples/ida_with_initial_sensitivity.py   Assimulo(Download)
import pylab as P
import nose
from assimulo.solvers import IDA
from assimulo.problem import Implicit_Problem
 
 
    #Create an Assimulo explicit solver (IDA)
    imp_sim = IDA(imp_mod)
 
    #Sets the paramters

src/a/s/Assimulo-2.5.1/assimulo/examples/ida_with_disc.py   Assimulo(Download)
import pylab as P
import nose
from assimulo.solvers import IDA
from assimulo.problem import Implicit_Problem
 
    imp_mod = Extended_Problem() #Create the problem
 
    imp_sim = IDA(imp_mod) #Create the solver
 
    imp_sim.verbosity = 0

src/a/s/Assimulo-2.5.1/assimulo/examples/ida_basic_backward.py   Assimulo(Download)
import pylab as P
import nose
from assimulo.solvers import IDA
from assimulo.problem import Implicit_Problem
 
 
    #Define an explicit solver
    imp_sim = IDA(imp_mod) #Create a IDA solver
 
    #Sets the parameters

src/a/s/Assimulo-2.5.1/assimulo/examples/glimda_vanderpol.py   Assimulo(Download)
import pylab as P
import nose
from assimulo.solvers import GLIMDA,IDA
from assimulo.problem import Implicit_Problem