Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
panzer::Response_Residual< panzer::Traits::Jacobian > Class Template Reference

#include <Panzer_Response_Residual.hpp>

Inheritance diagram for panzer::Response_Residual< panzer::Traits::Jacobian >:
Inheritance graph
[legend]

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 > > 
getGhostedJacobian () const
 
Teuchos::RCP
< Thyra::LinearOpBase
< panzer::Traits::RealType > > 
getJacobian () const
 
void setJacobian (const Teuchos::RCP< Thyra::LinearOpBase< panzer::Traits::RealType > > &res)
 
Teuchos::RCP
< Thyra::LinearOpBase
< panzer::Traits::RealType > > 
allocateJacobian () const
 
virtual void initializeResponse ()
 
virtual void scatterResponse ()
 Prepare the response for access by the user (do global communication) More...
 
- 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,. More...
 
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. More...
 

Private Attributes

Teuchos::RCP< const
panzer::LinearObjFactory
< panzer::Traits > > 
linObjFactory_
 
Teuchos::RCP
< Thyra::LinearOpBase
< panzer::Traits::RealType > > 
jacobian_
 
Teuchos::RCP
< Thyra::LinearOpBase
< panzer::Traits::RealType > > 
ghostedJacobian_
 

Additional Inherited Members

- Static Public Member Functions inherited from panzer::ResponseBase
static std::string buildLookupName (const std::string &responseName)
 

Detailed Description

template<>
class panzer::Response_Residual< panzer::Traits::Jacobian >

This is the response object used for calculation of the Jacobian. This class uses the LOF to construct a ghosted Jacobian object. A user can uses class members to construct a compatible Jacobian object and then set it as the Jacobian for this response to fill.

Definition at line 128 of file Panzer_Response_Residual.hpp.

Constructor & Destructor Documentation

Definition at line 137 of file Panzer_Response_Residual.hpp.

Definition at line 141 of file Panzer_Response_Residual.hpp.

Member Function Documentation

Access the ghosted Jacobian object. Note that this method will not return null. When called for the first time this will use the LOF to construct a ghosted Jacobian.

Definition at line 66 of file Panzer_Response_Residual.cpp.

Access the Jacobian. This method can return null, but will only return the Jacobian class set by setJacobian.

Definition at line 87 of file Panzer_Response_Residual.cpp.

Set the Jacobian to use. If set to null, the internal Jacobian will be lost. This is assumed to be correctly sized.

Definition at line 94 of file Panzer_Response_Residual.cpp.

Build a correctly sized Jacobian. This is a conenience, it wraps the linear object factory.

Definition at line 101 of file Panzer_Response_Residual.cpp.

virtual void panzer::Response_Residual< panzer::Traits::Jacobian >::initializeResponse ( )
inlinevirtual

Implements panzer::ResponseBase.

Definition at line 164 of file Panzer_Response_Residual.hpp.

virtual void panzer::Response_Residual< panzer::Traits::Jacobian >::scatterResponse ( )
inlinevirtual

Prepare the response for access by the user (do global communication)

Implements panzer::ResponseBase.

Definition at line 165 of file Panzer_Response_Residual.hpp.

Member Data Documentation

Definition at line 130 of file Panzer_Response_Residual.hpp.

Definition at line 132 of file Panzer_Response_Residual.hpp.

Definition at line 133 of file Panzer_Response_Residual.hpp.


The documentation for this class was generated from the following files: