FEApp::TangentOp Class Reference

#include <FEApp_InitPostOps.hpp>

Inheritance diagram for FEApp::TangentOp:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 TangentOp (double alpha, double beta, bool sum_derivs, const Teuchos::RCP< const Epetra_Vector > &overlapped_xdot, const Teuchos::RCP< const Epetra_Vector > &overlapped_x, const Teuchos::RCP< Sacado::ScalarParameterVector > &p, const Teuchos::RCP< const Epetra_MultiVector > &overlapped_Vx, const Teuchos::RCP< const Epetra_MultiVector > &overlapped_Vxdot, const Teuchos::RCP< const Teuchos::SerialDenseMatrix< int, double > > &Vp, const Teuchos::RCP< Epetra_Vector > &overlapped_f, const Teuchos::RCP< Epetra_MultiVector > &overlapped_JV, const Teuchos::RCP< Epetra_MultiVector > &overlapped_fp)
 Constructor.
virtual ~TangentOp ()
 Destructor.
virtual void elementInit (const FEApp::AbstractElement &e, unsigned int neqn, std::vector< Sacado::Fad::DFad< double > > *elem_xdot, std::vector< Sacado::Fad::DFad< double > > &elem_x)
 Evaulate element init operator.
virtual void elementPost (const FEApp::AbstractElement &e, unsigned int neqn, std::vector< Sacado::Fad::DFad< double > > &elem_f)
 Evaluate element post operator.
virtual void nodeInit (const FEApp::NodeBC &bc, unsigned int neqn, std::vector< Sacado::Fad::DFad< double > > *node_xdot, std::vector< Sacado::Fad::DFad< double > > &node_x)
 Evaulate node init operator.
virtual void nodePost (const FEApp::NodeBC &bc, unsigned int neqn, std::vector< Sacado::Fad::DFad< double > > &node_f)
 Evaluate node post operator.

Protected Attributes

double m_coeff
 Coefficient of mass matrix.
double j_coeff
 Coefficient of Jacobian matrix.
bool sum_derivs
 Whether to sum derivative terms.
Teuchos::RCP< const Epetra_Vectorxdot
 Time derivative vector (may be null).
Teuchos::RCP< const Epetra_Vectorx
 Solution vector.
Teuchos::RCP< Sacado::ScalarParameterVectorparams
 Parameter vector for parameter derivatives.
Teuchos::RCP< const Epetra_MultiVectorVx
 Seed matrix for state variables.
Teuchos::RCP< const Epetra_MultiVectorVxdot
 Seed matrix for transient variables.
Teuchos::RCP< const Teuchos::SerialDenseMatrix<
int, double > > 
Vp
 Seed matrix for parameters.
Teuchos::RCP< Epetra_Vectorf
 Residual vector.
Teuchos::RCP< Epetra_MultiVectorJV
 Tangent matrix (alpha*df/dxdot + beta*df/dx)*V.
Teuchos::RCP< Epetra_MultiVectorfp
 Tangent matrix df/dp*V_p.
int num_cols_x
 Stores number of columns in seed matrix V.
int num_cols_p
 Stores number of columns in seend matrix Vp.
int num_cols_tot
 Stores the total number of columns.
int param_offset
 Stores the parameter offset.

Private Member Functions

 TangentOp (const TangentOp &)
 Private to prohibit copying.
TangentOpoperator= (const TangentOp &)
 Private to prohibit copying.

Detailed Description

! Fill operator for "tangent": alpha*df/dxdot*Vxdot + beta*df/dx*Vx + df/dp*V_p

Definition at line 182 of file FEApp_InitPostOps.hpp.


Constructor & Destructor Documentation

FEApp::TangentOp::TangentOp ( double  alpha,
double  beta,
bool  sum_derivs,
const Teuchos::RCP< const Epetra_Vector > &  overlapped_xdot,
const Teuchos::RCP< const Epetra_Vector > &  overlapped_x,
const Teuchos::RCP< Sacado::ScalarParameterVector > &  p,
const Teuchos::RCP< const Epetra_MultiVector > &  overlapped_Vx,
const Teuchos::RCP< const Epetra_MultiVector > &  overlapped_Vxdot,
const Teuchos::RCP< const Teuchos::SerialDenseMatrix< int, double > > &  Vp,
const Teuchos::RCP< Epetra_Vector > &  overlapped_f,
const Teuchos::RCP< Epetra_MultiVector > &  overlapped_JV,
const Teuchos::RCP< Epetra_MultiVector > &  overlapped_fp 
)

Constructor.

Set xdot to Teuchos::null for steady-state problems

Definition at line 340 of file FEApp_InitPostOps.cpp.

FEApp::TangentOp::~TangentOp (  )  [virtual]

Destructor.

Definition at line 395 of file FEApp_InitPostOps.cpp.

FEApp::TangentOp::TangentOp ( const TangentOp  )  [private]

Private to prohibit copying.


Member Function Documentation

void FEApp::TangentOp::elementInit ( const FEApp::AbstractElement e,
unsigned int  neqn,
std::vector< Sacado::Fad::DFad< double > > *  elem_xdot,
std::vector< Sacado::Fad::DFad< double > > &  elem_x 
) [virtual]

Evaulate element init operator.

Implements FEApp::AbstractInitPostOp< Sacado::Fad::DFad< double > >.

Definition at line 400 of file FEApp_InitPostOps.cpp.

void FEApp::TangentOp::elementPost ( const FEApp::AbstractElement e,
unsigned int  neqn,
std::vector< Sacado::Fad::DFad< double > > &  elem_f 
) [virtual]

Evaluate element post operator.

Implements FEApp::AbstractInitPostOp< Sacado::Fad::DFad< double > >.

Definition at line 462 of file FEApp_InitPostOps.cpp.

void FEApp::TangentOp::nodeInit ( const FEApp::NodeBC bc,
unsigned int  neqn,
std::vector< Sacado::Fad::DFad< double > > *  node_xdot,
std::vector< Sacado::Fad::DFad< double > > &  node_x 
) [virtual]

Evaulate node init operator.

Implements FEApp::AbstractInitPostOp< Sacado::Fad::DFad< double > >.

Definition at line 500 of file FEApp_InitPostOps.cpp.

void FEApp::TangentOp::nodePost ( const FEApp::NodeBC bc,
unsigned int  neqn,
std::vector< Sacado::Fad::DFad< double > > &  node_f 
) [virtual]

Evaluate node post operator.

Implements FEApp::AbstractInitPostOp< Sacado::Fad::DFad< double > >.

Definition at line 550 of file FEApp_InitPostOps.cpp.

TangentOp& FEApp::TangentOp::operator= ( const TangentOp  )  [private]

Private to prohibit copying.


Member Data Documentation

double FEApp::TangentOp::m_coeff [protected]

Coefficient of mass matrix.

Definition at line 239 of file FEApp_InitPostOps.hpp.

double FEApp::TangentOp::j_coeff [protected]

Coefficient of Jacobian matrix.

Definition at line 242 of file FEApp_InitPostOps.hpp.

bool FEApp::TangentOp::sum_derivs [protected]

Whether to sum derivative terms.

Definition at line 245 of file FEApp_InitPostOps.hpp.

Teuchos::RCP<const Epetra_Vector> FEApp::TangentOp::xdot [protected]

Time derivative vector (may be null).

Definition at line 248 of file FEApp_InitPostOps.hpp.

Teuchos::RCP<const Epetra_Vector> FEApp::TangentOp::x [protected]

Solution vector.

Definition at line 251 of file FEApp_InitPostOps.hpp.

Teuchos::RCP<Sacado::ScalarParameterVector> FEApp::TangentOp::params [protected]

Parameter vector for parameter derivatives.

Definition at line 254 of file FEApp_InitPostOps.hpp.

Teuchos::RCP<const Epetra_MultiVector> FEApp::TangentOp::Vx [protected]

Seed matrix for state variables.

Definition at line 257 of file FEApp_InitPostOps.hpp.

Teuchos::RCP<const Epetra_MultiVector> FEApp::TangentOp::Vxdot [protected]

Seed matrix for transient variables.

Definition at line 260 of file FEApp_InitPostOps.hpp.

Teuchos::RCP<const Teuchos::SerialDenseMatrix<int,double> > FEApp::TangentOp::Vp [protected]

Seed matrix for parameters.

Definition at line 263 of file FEApp_InitPostOps.hpp.

Teuchos::RCP<Epetra_Vector> FEApp::TangentOp::f [protected]

Residual vector.

Definition at line 266 of file FEApp_InitPostOps.hpp.

Teuchos::RCP<Epetra_MultiVector> FEApp::TangentOp::JV [protected]

Tangent matrix (alpha*df/dxdot + beta*df/dx)*V.

Definition at line 269 of file FEApp_InitPostOps.hpp.

Teuchos::RCP<Epetra_MultiVector> FEApp::TangentOp::fp [protected]

Tangent matrix df/dp*V_p.

Definition at line 272 of file FEApp_InitPostOps.hpp.

int FEApp::TangentOp::num_cols_x [protected]

Stores number of columns in seed matrix V.

Definition at line 275 of file FEApp_InitPostOps.hpp.

int FEApp::TangentOp::num_cols_p [protected]

Stores number of columns in seend matrix Vp.

Definition at line 278 of file FEApp_InitPostOps.hpp.

int FEApp::TangentOp::num_cols_tot [protected]

Stores the total number of columns.

Definition at line 281 of file FEApp_InitPostOps.hpp.

int FEApp::TangentOp::param_offset [protected]

Stores the parameter offset.

Definition at line 284 of file FEApp_InitPostOps.hpp.


The documentation for this class was generated from the following files:
Generated on Tue Oct 20 12:55:12 2009 for Sacado Package Browser (Single Doxygen Collection) by doxygen 1.4.7