Discretizes a DifferentialEquation by means of a collocation scheme. More...
#include <collocation_method.hpp>

Additional Inherited Members | |
Protected Member Functions inherited from DynamicDiscretization | |
| void | copy (const DynamicDiscretization &rhs) |
| uint | getNumEvaluationPoints () const |
| void | initializeVariables () |
| virtual returnValue | setupLogging () |
| virtual returnValue | setupOptions () |
Protected Attributes inherited from DynamicDiscretization | |
| BlockMatrix | bSeed |
| BlockMatrix | dBackward |
| BlockMatrix | dForward |
| BooleanType | freezeTraj |
| int | N |
| int | na |
| int | np |
| int | nu |
| int | nw |
| int | nx |
| PrintLevel | printLevel |
| BlockMatrix | pSeed |
| VariablesGrid | residuum |
| Grid | unionGrid |
| BlockMatrix | uSeed |
| BlockMatrix | wSeed |
| BlockMatrix | xSeed |
Protected Attributes inherited from AlgorithmicBase | |
| int | outputLoggingIdx |
| BooleanType | useModuleStandalone |
| UserInteraction * | userInteraction |
Discretizes a DifferentialEquation by means of a collocation scheme.
The class CollocationMethod allows to discretize a DifferentialEquation for use in optimal control algorithms by means of a collocation scheme.
Definition at line 53 of file collocation_method.hpp.
| BEGIN_NAMESPACE_ACADO CollocationMethod::CollocationMethod | ( | ) |
Default constructor.
Definition at line 46 of file collocation_method.cpp.
| CollocationMethod::CollocationMethod | ( | UserInteraction * | _userInteraction | ) |
Definition at line 51 of file collocation_method.cpp.
| CollocationMethod::CollocationMethod | ( | const CollocationMethod & | rhs | ) |
Copy constructor (deep copy).
Definition at line 56 of file collocation_method.cpp.
|
virtual |
Destructor.
Definition at line 63 of file collocation_method.cpp.
|
virtual |
Set the Differential Equations stage by stage.
Implements DynamicDiscretization.
Definition at line 82 of file collocation_method.cpp.
|
virtual |
Set the Transition stages.
Implements DynamicDiscretization.
Definition at line 90 of file collocation_method.cpp.
|
virtual |
Deletes all stages and transitions and resets the DynamicDiscretization.
Implements DynamicDiscretization.
Definition at line 97 of file collocation_method.cpp.
|
virtual |
Clone constructor (deep copy).
Implements DynamicDiscretization.
Definition at line 75 of file collocation_method.cpp.
|
virtual |
Deletes all seeds that have been set with the methods above.
This function will also give the corresponding memory free.
Reimplemented from DynamicDiscretization.
Definition at line 129 of file collocation_method.cpp.
|
virtual |
Evaluates the descretized DifferentialEquation at a specified
VariablesGrid. The results are written into the residuum of the
type VariablesGrid. This routine is for a simple evaluation only.
If sensitivities are needed use one of the routines below
instead.
Implements DynamicDiscretization.
Definition at line 104 of file collocation_method.cpp.
|
virtual |
Evaluates the sensitivities.
Implements DynamicDiscretization.
Definition at line 111 of file collocation_method.cpp.
|
virtual |
Evaluates the sensitivities and the hessian.
Implements DynamicDiscretization.
Definition at line 123 of file collocation_method.cpp.
|
virtual |
Evaluates the sensitivities.
Implements DynamicDiscretization.
Definition at line 117 of file collocation_method.cpp.
|
virtual |
Implements DynamicDiscretization.
Definition at line 150 of file collocation_method.cpp.
| CollocationMethod & CollocationMethod::operator= | ( | const CollocationMethod & | rhs | ) |
Assignment operator (deep copy).
Definition at line 69 of file collocation_method.cpp.
|
virtual |
Implements DynamicDiscretization.
Definition at line 143 of file collocation_method.cpp.