Panzer Version of the Day
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
panzer::ResponseMESupport_Default< panzer::Traits::Jacobian > Class Referenceabstract

#include <Panzer_ResponseMESupport_Default.hpp>

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

Public Member Functions

 ResponseMESupport_Default (const std::string &responseName, MPI_Comm comm, const Teuchos::RCP< const Thyra::VectorSpaceBase< double > > &derivVecSpace=Teuchos::null)
 
virtual ~ResponseMESupport_Default ()
 
virtual std::size_t localSizeRequired () const =0
 What is the number of values you need locally.
 
virtual bool vectorIsDistributed () const =0
 Is the vector distributed (or replicated). For derivative assembly this must be false!
 
bool supportsDerivative () const
 Does this response support derivative evaluation?
 
Teuchos::RCP< Thyra::MultiVectorBase< double > > getDerivative () const
 
virtual Teuchos::RCP< Thyra::MultiVectorBase< double > > buildDerivative () const
 Get the Epetra_Map for this response, map is constructed lazily.
 
virtual void setDerivative (const Teuchos::RCP< Thyra::MultiVectorBase< double > > &derivative)
 
- Public Member Functions inherited from panzer::ResponseMESupportBase< panzer::Traits::Jacobian >
 ResponseMESupportBase (const std::string &responseName)
 
virtual ~ResponseMESupportBase ()
 
- 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 ()
 
virtual void scatterResponse ()=0
 Prepare the response for access by the user (do global communication)
 
virtual void initializeResponse ()=0
 
- 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.
 

Protected Member Functions

Teuchos::RCP< const Teuchos::Comm< Thyra::Ordinal > > getComm () const
 Get the teuchos comm object.
 
Teuchos::RCP< const Thyra::VectorSpaceBase< double > > getDerivativeVectorSpace () const
 Get the derivative vector space.
 
void setDerivativeVectorSpace (const Teuchos::RCP< const Thyra::VectorSpaceBase< double > > &vs)
 Set the derivative vector space.
 

Private Member Functions

 ResponseMESupport_Default ()
 
 ResponseMESupport_Default (const ResponseMESupport_Default< panzer::Traits::Jacobian > &)
 

Private Attributes

Teuchos::RCP< const Teuchos::Comm< Thyra::Ordinal > > tComm_
 
Teuchos::RCP< const Thyra::VectorSpaceBase< double > > derivVecSpace_
 
Teuchos::RCP< Thyra::MultiVectorBase< double > > derivative_
 

Additional Inherited Members

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

Detailed Description

Definition at line 160 of file Panzer_ResponseMESupport_Default.hpp.

Constructor & Destructor Documentation

◆ ResponseMESupport_Default() [1/3]

panzer::ResponseMESupport_Default< panzer::Traits::Jacobian >::ResponseMESupport_Default ( const std::string & responseName,
MPI_Comm comm,
const Teuchos::RCP< const Thyra::VectorSpaceBase< double > > & derivVecSpace = Teuchos::null )
inline

Definition at line 163 of file Panzer_ResponseMESupport_Default.hpp.

◆ ~ResponseMESupport_Default()

Definition at line 168 of file Panzer_ResponseMESupport_Default.hpp.

◆ ResponseMESupport_Default() [2/3]

panzer::ResponseMESupport_Default< panzer::Traits::Jacobian >::ResponseMESupport_Default ( )
private

◆ ResponseMESupport_Default() [3/3]

Member Function Documentation

◆ localSizeRequired()

virtual std::size_t panzer::ResponseMESupport_Default< panzer::Traits::Jacobian >::localSizeRequired ( ) const
pure virtual

What is the number of values you need locally.

◆ vectorIsDistributed()

virtual bool panzer::ResponseMESupport_Default< panzer::Traits::Jacobian >::vectorIsDistributed ( ) const
pure virtual

Is the vector distributed (or replicated). For derivative assembly this must be false!

◆ supportsDerivative()

bool panzer::ResponseMESupport_Default< panzer::Traits::Jacobian >::supportsDerivative ( ) const
inlinevirtual

Does this response support derivative evaluation?

Implements panzer::ResponseMESupportBase< panzer::Traits::Jacobian >.

Definition at line 177 of file Panzer_ResponseMESupport_Default.hpp.

◆ getDerivative()

Teuchos::RCP< Thyra::MultiVectorBase< double > > panzer::ResponseMESupport_Default< panzer::Traits::Jacobian >::getDerivative ( ) const
inline

Get the vector for this response. This must be constructed from the vector space returned by getMap.

Definition at line 182 of file Panzer_ResponseMESupport_Default.hpp.

◆ buildDerivative()

virtual Teuchos::RCP< Thyra::MultiVectorBase< double > > panzer::ResponseMESupport_Default< panzer::Traits::Jacobian >::buildDerivative ( ) const
inlinevirtual

Get the Epetra_Map for this response, map is constructed lazily.

Implements panzer::ResponseMESupportBase< panzer::Traits::Jacobian >.

Definition at line 220 of file Panzer_ResponseMESupport_Default.hpp.

◆ setDerivative()

virtual void panzer::ResponseMESupport_Default< panzer::Traits::Jacobian >::setDerivative ( const Teuchos::RCP< Thyra::MultiVectorBase< double > > & derivative)
inlinevirtual

Set the vector (to be filled) for this response. This must be constructed from the vector space returned by getMap.

Implements panzer::ResponseMESupportBase< panzer::Traits::Jacobian >.

Definition at line 231 of file Panzer_ResponseMESupport_Default.hpp.

◆ getComm()

Teuchos::RCP< const Teuchos::Comm< Thyra::Ordinal > > panzer::ResponseMESupport_Default< panzer::Traits::Jacobian >::getComm ( ) const
inlineprotected

Get the teuchos comm object.

Definition at line 241 of file Panzer_ResponseMESupport_Default.hpp.

◆ getDerivativeVectorSpace()

Teuchos::RCP< const Thyra::VectorSpaceBase< double > > panzer::ResponseMESupport_Default< panzer::Traits::Jacobian >::getDerivativeVectorSpace ( ) const
inlineprotected

Get the derivative vector space.

Definition at line 244 of file Panzer_ResponseMESupport_Default.hpp.

◆ setDerivativeVectorSpace()

void panzer::ResponseMESupport_Default< panzer::Traits::Jacobian >::setDerivativeVectorSpace ( const Teuchos::RCP< const Thyra::VectorSpaceBase< double > > & vs)
inlineprotected

Set the derivative vector space.

Definition at line 248 of file Panzer_ResponseMESupport_Default.hpp.

Member Data Documentation

◆ tComm_

Teuchos::RCP<const Teuchos::Comm<Thyra::Ordinal> > panzer::ResponseMESupport_Default< panzer::Traits::Jacobian >::tComm_
private

Definition at line 256 of file Panzer_ResponseMESupport_Default.hpp.

◆ derivVecSpace_

Teuchos::RCP<const Thyra::VectorSpaceBase<double> > panzer::ResponseMESupport_Default< panzer::Traits::Jacobian >::derivVecSpace_
private

Definition at line 257 of file Panzer_ResponseMESupport_Default.hpp.

◆ derivative_

Definition at line 262 of file Panzer_ResponseMESupport_Default.hpp.


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