daepy.dae¶

class
daepy.dae.
DAETemplate
(parameter)¶ The user must write a class with this template to define the BVP. The class must define the attributes N, dindex and aindex and the methods
fun()
,bv()
. It may optionally define the methodsjacobian()
,bv_jacobian()
,update_parameter()
andparameter_jacobian()
. You can of course add your own attributes and methods as well.
fun
(x, y)¶ Evaluate the system at points x where y is a
BVPSolution
.

bv
(y)¶ Evaluate the boundary conditions where y is a
BVPSolution
.

jacobian
(x, y)¶ Calculate the jacobian of the system evaluated at points x with respect to the coefficients of the collocation solution and with respect to the coefficients of the coordinate transform where y is a
BVPSolution
.

bv_jacobian
(y)¶ Calculate the jacobian of the boundary conditions with respect to the coefficients of the collocation solution and with respect to the coefficients of the coordinate transform where y is a
BVPSolution
.

update_parameter
(p)¶ Update the parameter. This is used for parameter continuation.

parameter_jacobian
(x, y)¶ Calculate the derivative of the system with respect to the parameter where y is a
BVPSolution
. This is used for parameter continuation.
