|
Panzer Version of the Day
|
#include <Panzer_Response_Residual.hpp>

Public Member Functions | |
| Response_Residual (const std::string &responseName, const Teuchos::RCP< const panzer::LinearObjFactory< panzer::Traits > > &lof) | |
| virtual | ~Response_Residual () |
| Teuchos::RCP< Thyra::LinearOpBase< panzer::Traits::RealType > > | getGhostedHessian () const |
| Teuchos::RCP< Thyra::LinearOpBase< panzer::Traits::RealType > > | getHessian () const |
| void | setHessian (const Teuchos::RCP< Thyra::LinearOpBase< panzer::Traits::RealType > > &res) |
| Teuchos::RCP< Thyra::LinearOpBase< panzer::Traits::RealType > > | allocateHessian () const |
| virtual void | initializeResponse () |
| virtual void | scatterResponse () |
| Prepare the response for access by the user (do global communication) | |
Public Member Functions inherited from panzer::ResponseBase | |
| ResponseBase (const std::string &responseName) | |
| virtual | ~ResponseBase () |
| std::string | getName () const |
| std::string | getLookupName () const |
| virtual void | ghostToGlobal (int) |
| Inherited from GlobalEvaluationData,. | |
| virtual void | initializeData () |
Public Member Functions inherited from panzer::GlobalEvaluationData_Default | |
| GlobalEvaluationData_Default () | |
| GlobalEvaluationData_Default (const GlobalEvaluationData_Default &s) | |
| virtual void | globalToGhost (int) |
| void | setRequiresDirichletAdjustment (bool b) |
| bool | requiresDirichletAdjustment () const |
Public Member Functions inherited from panzer::GlobalEvaluationData | |
| virtual | ~GlobalEvaluationData ()=0 |
| virtual void | print (std::ostream &os) const |
| Diagnostic function for determinning what's in this object. | |
Private Attributes | |
| Teuchos::RCP< const panzer::LinearObjFactory< panzer::Traits > > | linObjFactory_ |
| Teuchos::RCP< Thyra::LinearOpBase< panzer::Traits::RealType > > | hessian_ |
| Teuchos::RCP< Thyra::LinearOpBase< panzer::Traits::RealType > > | ghostedHessian_ |
Additional Inherited Members | |
Static Public Member Functions inherited from panzer::ResponseBase | |
| static std::string | buildLookupName (const std::string &responseName) |
This is the response object used for calculation of the Hessian. This class uses the LOF to construct a ghosted Hessian object. A user can uses class members to construct a compatible Hessian object and then set it as the Hessian for this response to fill.
Definition at line 144 of file Panzer_Response_Residual.hpp.
|
inline |
Definition at line 153 of file Panzer_Response_Residual.hpp.
|
inlinevirtual |
Definition at line 157 of file Panzer_Response_Residual.hpp.
| Teuchos::RCP< Thyra::LinearOpBase< panzer::Traits::RealType > > panzer::Response_Residual< panzer::Traits::Hessian >::getGhostedHessian | ( | ) | const |
Access the ghosted Hessian object. Note that this method will not return null. When called for the first time this will use the LOF to construct a ghosted Hessian.
Definition at line 128 of file Panzer_Response_Residual.cpp.
| Teuchos::RCP< Thyra::LinearOpBase< panzer::Traits::RealType > > panzer::Response_Residual< panzer::Traits::Hessian >::getHessian | ( | ) | const |
Access the Hessian. This method can return null, but will only return the Hessian class set by setHessian.
Definition at line 149 of file Panzer_Response_Residual.cpp.
| void panzer::Response_Residual< panzer::Traits::Hessian >::setHessian | ( | const Teuchos::RCP< Thyra::LinearOpBase< panzer::Traits::RealType > > & | res | ) |
Set the Hessian to use. If set to null, the internal Hessian will be lost. This is assumed to be correctly sized.
Definition at line 156 of file Panzer_Response_Residual.cpp.
| Teuchos::RCP< Thyra::LinearOpBase< panzer::Traits::RealType > > panzer::Response_Residual< panzer::Traits::Hessian >::allocateHessian | ( | ) | const |
Build a correctly sized Hessian. This is a conenience, it wraps the linear object factory.
Definition at line 163 of file Panzer_Response_Residual.cpp.
|
inlinevirtual |
Implements panzer::ResponseBase.
Definition at line 180 of file Panzer_Response_Residual.hpp.
|
inlinevirtual |
Prepare the response for access by the user (do global communication)
Implements panzer::ResponseBase.
Definition at line 181 of file Panzer_Response_Residual.hpp.
|
private |
Definition at line 146 of file Panzer_Response_Residual.hpp.
|
private |
Definition at line 148 of file Panzer_Response_Residual.hpp.
|
mutableprivate |
Definition at line 149 of file Panzer_Response_Residual.hpp.