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

#include <Panzer_ResponseMESupport_Default.hpp>

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

Public Member Functions

 ResponseMESupport_Default (const std::string &responseName, MPI_Comm comm)
 
virtual ~ResponseMESupport_Default ()
 
virtual std::size_t localSizeRequired () const =0
 What is the number of values you need locally. More...
 
virtual bool vectorIsDistributed () const =0
 Is the vector distributed (or replicated) More...
 
Teuchos::RCP< const Epetra_MapgetMap () const
 Get the Epetra_Map for this response, map is constructed lazily. More...
 
void setVector (const Teuchos::RCP< Epetra_Vector > &destVec)
 
Teuchos::RCP< const
Thyra::VectorSpaceBase< double > > 
getVectorSpace () const
 Get the vector space for this response, vector space is constructed lazily. More...
 
void setVector (const Teuchos::RCP< Thyra::VectorBase< double > > &destVec)
 
void setVectorSpace (Teuchos::RCP< const Thyra::VectorSpaceBase< double > > vs)
 set the vector space for this response More...
 
Teuchos::RCP
< Thyra::VectorBase< double > > 
getVector () const
 Access the response vector. More...
 
- Public Member Functions inherited from panzer::ResponseMESupportBase< EvalT >
 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,. More...
 
virtual void initializeData ()
 
virtual void scatterResponse ()=0
 Prepare the response for access by the user (do global communication) More...
 
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. More...
 

Protected Member Functions

Teuchos::RCP< const
Teuchos::Comm< Thyra::Ordinal > > 
getComm () const
 Get the teuchos comm object. More...
 
bool useEpetra () const
 Is Epetra the right vector. More...
 
bool useThyra () const
 Is Thyra the right vector. More...
 
Epetra_VectorgetEpetraVector () const
 Access the epetra vector. More...
 
Thyra::ArrayRCP< double > getThyraVector () const
 Access the thyra vector. More...
 
Teuchos::RCP
< Thyra::MultiVectorBase
< double > > 
getThyraMultiVector () const
 Access the thyra MultiVector. More...
 

Private Member Functions

 ResponseMESupport_Default ()
 
 ResponseMESupport_Default (const ResponseMESupport_Default< EvalT > &)
 

Private Attributes

bool useEpetra_
 
Epetra_MpiComm eComm_
 
Teuchos::RCP< const Epetra_Mapmap_
 
Teuchos::RCP< Epetra_VectoreVector_
 
bool useThyra_
 
Teuchos::RCP< const
Thyra::VectorSpaceBase< double > > 
vSpace_
 
Teuchos::RCP
< Thyra::VectorBase< double > > 
tVector_
 
Teuchos::RCP< const
Teuchos::Comm< Thyra::Ordinal > > 
tComm_
 

Additional Inherited Members

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

Detailed Description

template<typename EvalT>
class panzer::ResponseMESupport_Default< EvalT >

Definition at line 64 of file Panzer_ResponseMESupport_Default.hpp.

Constructor & Destructor Documentation

template<typename EvalT >
panzer::ResponseMESupport_Default< EvalT >::ResponseMESupport_Default ( const std::string &  responseName,
MPI_Comm  comm 
)
inline

Definition at line 66 of file Panzer_ResponseMESupport_Default.hpp.

template<typename EvalT >
virtual panzer::ResponseMESupport_Default< EvalT >::~ResponseMESupport_Default ( )
inlinevirtual

Definition at line 72 of file Panzer_ResponseMESupport_Default.hpp.

template<typename EvalT >
panzer::ResponseMESupport_Default< EvalT >::ResponseMESupport_Default ( )
private
template<typename EvalT >
panzer::ResponseMESupport_Default< EvalT >::ResponseMESupport_Default ( const ResponseMESupport_Default< EvalT > &  )
private

Member Function Documentation

template<typename EvalT >
virtual std::size_t panzer::ResponseMESupport_Default< EvalT >::localSizeRequired ( ) const
pure virtual

What is the number of values you need locally.

Implemented in panzer::Response_ExtremeValue< EvalT >, panzer::Response_Functional< EvalT >, and panzer::Response_Probe< EvalT >.

template<typename EvalT >
virtual bool panzer::ResponseMESupport_Default< EvalT >::vectorIsDistributed ( ) const
pure virtual
template<typename EvalT >
Teuchos::RCP< const Epetra_Map > panzer::ResponseMESupport_Default< EvalT >::getMap ( ) const
virtual

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

Implements panzer::ResponseMESupportBase< EvalT >.

Definition at line 71 of file Panzer_ResponseMESupport_Default_impl.hpp.

template<typename EvalT >
void panzer::ResponseMESupport_Default< EvalT >::setVector ( const Teuchos::RCP< Epetra_Vector > &  destVec)
virtual

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

Implements panzer::ResponseMESupportBase< EvalT >.

Definition at line 90 of file Panzer_ResponseMESupport_Default_impl.hpp.

template<typename EvalT >
Teuchos::RCP< const Thyra::VectorSpaceBase< double > > panzer::ResponseMESupport_Default< EvalT >::getVectorSpace ( ) const
virtual

Get the vector space for this response, vector space is constructed lazily.

Implements panzer::ResponseMESupportBase< EvalT >.

Definition at line 103 of file Panzer_ResponseMESupport_Default_impl.hpp.

template<typename EvalT >
void panzer::ResponseMESupport_Default< EvalT >::setVector ( const Teuchos::RCP< Thyra::VectorBase< double > > &  destVec)
virtual

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

Implements panzer::ResponseMESupportBase< EvalT >.

Definition at line 122 of file Panzer_ResponseMESupport_Default_impl.hpp.

template<typename EvalT >
void panzer::ResponseMESupport_Default< EvalT >::setVectorSpace ( Teuchos::RCP< const Thyra::VectorSpaceBase< double > >  vs)
inline

set the vector space for this response

Definition at line 103 of file Panzer_ResponseMESupport_Default.hpp.

template<typename EvalT >
Teuchos::RCP<Thyra::VectorBase<double> > panzer::ResponseMESupport_Default< EvalT >::getVector ( ) const
inline

Access the response vector.

Definition at line 107 of file Panzer_ResponseMESupport_Default.hpp.

template<typename EvalT >
Teuchos::RCP<const Teuchos::Comm<Thyra::Ordinal> > panzer::ResponseMESupport_Default< EvalT >::getComm ( ) const
inlineprotected

Get the teuchos comm object.

Definition at line 112 of file Panzer_ResponseMESupport_Default.hpp.

template<typename EvalT >
bool panzer::ResponseMESupport_Default< EvalT >::useEpetra ( ) const
inlineprotected

Is Epetra the right vector.

Definition at line 115 of file Panzer_ResponseMESupport_Default.hpp.

template<typename EvalT >
bool panzer::ResponseMESupport_Default< EvalT >::useThyra ( ) const
inlineprotected

Is Thyra the right vector.

Definition at line 118 of file Panzer_ResponseMESupport_Default.hpp.

template<typename EvalT >
Epetra_Vector & panzer::ResponseMESupport_Default< EvalT >::getEpetraVector ( ) const
protected

Access the epetra vector.

Definition at line 50 of file Panzer_ResponseMESupport_Default_impl.hpp.

template<typename EvalT >
Thyra::ArrayRCP< double > panzer::ResponseMESupport_Default< EvalT >::getThyraVector ( ) const
protected

Access the thyra vector.

Definition at line 59 of file Panzer_ResponseMESupport_Default_impl.hpp.

template<typename EvalT >
Teuchos::RCP<Thyra::MultiVectorBase<double> > panzer::ResponseMESupport_Default< EvalT >::getThyraMultiVector ( ) const
inlineprotected

Access the thyra MultiVector.

Definition at line 127 of file Panzer_ResponseMESupport_Default.hpp.

Member Data Documentation

template<typename EvalT >
bool panzer::ResponseMESupport_Default< EvalT >::useEpetra_
private

Definition at line 136 of file Panzer_ResponseMESupport_Default.hpp.

template<typename EvalT >
Epetra_MpiComm panzer::ResponseMESupport_Default< EvalT >::eComm_
private

Definition at line 137 of file Panzer_ResponseMESupport_Default.hpp.

template<typename EvalT >
Teuchos::RCP<const Epetra_Map> panzer::ResponseMESupport_Default< EvalT >::map_
mutableprivate

Definition at line 138 of file Panzer_ResponseMESupport_Default.hpp.

template<typename EvalT >
Teuchos::RCP<Epetra_Vector> panzer::ResponseMESupport_Default< EvalT >::eVector_
private

Definition at line 139 of file Panzer_ResponseMESupport_Default.hpp.

template<typename EvalT >
bool panzer::ResponseMESupport_Default< EvalT >::useThyra_
private

Definition at line 141 of file Panzer_ResponseMESupport_Default.hpp.

template<typename EvalT >
Teuchos::RCP<const Thyra::VectorSpaceBase<double> > panzer::ResponseMESupport_Default< EvalT >::vSpace_
mutableprivate

Definition at line 142 of file Panzer_ResponseMESupport_Default.hpp.

template<typename EvalT >
Teuchos::RCP<Thyra::VectorBase<double> > panzer::ResponseMESupport_Default< EvalT >::tVector_
private

Definition at line 143 of file Panzer_ResponseMESupport_Default.hpp.

template<typename EvalT >
Teuchos::RCP<const Teuchos::Comm<Thyra::Ordinal> > panzer::ResponseMESupport_Default< EvalT >::tComm_
private

Definition at line 144 of file Panzer_ResponseMESupport_Default.hpp.


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