Home | Trees | Indices | Help |
|
---|
|
Event handling for python-based computations, and specification for both python and externally compiled code. (Externally compiled code may include its own event determination implementation.) "High-level" events are built in native Python function format. "Low-level" events are built for external platforms, e.g. C or Matlab code. Robert Clewley, October 2005.
|
|||
EventStruct A data structure to store and interface with multiple events. |
|||
Event Generic Event. |
|||
HighLevelEvent Event defined using python function code. |
|||
LowLevelEvent Event defined using externally-compiled and linked function code (i.e. |
|||
MatlabEvent Event defined using MATLAB syntax for use with ADMC++ |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
_1DimplicitSolveMethods =
|
|||
_all_complex =
|
|||
_all_float =
|
|||
_all_int =
|
|||
_all_numpy_complex =
|
|||
_all_numpy_float =
|
|||
_all_numpy_int =
|
|||
_complex_types =
|
|||
_float_types =
|
|||
_implicitSolveMethods =
|
|||
_indentstr =
|
|||
_int_types =
|
|||
_num_equivtype =
|
|||
_num_maxmin =
|
|||
_num_name2equivtypes =
|
|||
_num_name2type =
|
|||
_num_type2name =
|
|||
_num_types =
|
|||
_pytypefromtype =
|
|||
_real_types =
|
|||
_seq_types =
|
|
Target language-independent user-defined event involving coordinates, parameters, and time. Returns a non variable-linked event only. List of used variable, parameter, and input names defaults to the empty list and can be omitted if these are not referenced. If variable names are omitted then the expression must only depend on time 't' and any declared parameters. Auxiliary function dictionary is required if the event accesses them. 'targetlang' argument defaults to 'python'. The expression 'expr' may not use intermediate temporary variables (for which you should specify the body of the event function by hand. Optional argument reuseterms is a dictionary of terms used in expr that map to their definitions in terms of the state variables, time, parameters, and inputs. |
Python function-specified zero-crossing event in coordinate, or in time. Use 'var' argument to create a variable-linked event. varname may be a Quantity object. dircode is -1, 0, or 1. varname may be the reserved word 't', for the independent variable. |
Process reused subexpression terms for Python code. (Similar to function of similar name in FuncSpec.py) |
Process reused subexpression terms for C code. (Similar to function processReusedC in FuncSpec.py) |
Process reused subexpression terms for matlab code. (Similar to function of similar name in FuncSpec.py) |
Find root more accurately from a Variable object using bisection. (Adapted from scipy.optimize.minpack.bisection code to make use of quadratic interpolation, which assumes that tlo and thi are already known to be close enough together that the variable's curve is purely concave up or down in the neighbourhood, and so can be fitted accurately with a single quadratic). To use quadratic interpolation, pass a fit_quadratic instance as the quadratic_interp argument. Interpolation will also be done on any inputs provided (**not yet implemented**). |
|
_all_complex
|
_all_float
|
_all_int
|
_all_numpy_complex
|
_all_numpy_float
|
_all_numpy_int
|
_complex_types
|
_num_equivtype
|
_num_maxmin
|
_num_name2equivtypes
|
_num_name2type
|
_num_type2name
|
_num_types
|
_pytypefromtype
|
_real_types
|
_seq_types
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Dec 2 23:44:16 2012 | http://epydoc.sourceforge.net |