|
NOX
Development
|
Concrete class that provides a concrete implementation of the computeDfDp() method of the LOCA::Continuation::AbstractGroup using first-order finite differencing. More...
#include <LOCA_MultiContinuation_FiniteDifferenceGroup.H>
Public Member Functions | |
| FiniteDifferenceGroup () | |
| Constructor. | |
| FiniteDifferenceGroup (const FiniteDifferenceGroup &source, NOX::CopyType type=NOX::DeepCopy) | |
| Copy constructor. | |
| virtual | ~FiniteDifferenceGroup () |
| Destructor. | |
| virtual void | copy (const NOX::Abstract::Group &source) |
| Copy. | |
| virtual NOX::Abstract::Group & | operator= (const NOX::Abstract::Group &source) |
| Assignment. | |
| virtual void | setDerivUtils (const Teuchos::RCP< LOCA::DerivUtils > &deriv) |
| Set the LOCA::DerivUtils object. | |
| virtual NOX::Abstract::Group::ReturnType | computeDfDpMulti (const std::vector< int > ¶mIDs, NOX::Abstract::MultiVector &dfdp, bool isValidF) |
Protected Attributes | |
| Teuchos::RCP< DerivUtils > | derivPtr |
| Pointer to current DerivUtils derivative computation object. | |
Concrete class that provides a concrete implementation of the computeDfDp() method of the LOCA::Continuation::AbstractGroup using first-order finite differencing.
The finite-differencing calculations are actually implemented by the LOCA::DerivUtils class, and a custom DerivUtils object can be set by the setDerivUtils() method. However, in the future the calculations encapsulated in the DerivUtils class may be incorporated directly into this class and other finite-differencing child classes.
| NOX::Abstract::Group::ReturnType LOCA::MultiContinuation::FiniteDifferenceGroup::computeDfDpMulti | ( | const std::vector< int > & | paramIDs, |
| NOX::Abstract::MultiVector & | dfdp, | ||
| bool | isValidF | ||
| ) | [virtual] |
Compute
for each parameter
indexed by paramIDs. The first column of dfdp holds F, which is valid if isValidF is true. Otherwise F must be computed.
The calculation is implemented by calling the corresponding LOCA::DerivUtils::computeDfDp() method of the passed LOCA::DerivUtils object.
Implements LOCA::MultiContinuation::AbstractGroup.
Reimplemented in LOCA::MultiContinuation::ConstrainedGroup, and LOCA::Thyra::Group.
1.7.6.1