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< FadType > *elem_xdot, std::vector< FadType > &elem_x)
 Evaulate element init operator.
virtual void elementPost (const FEApp::AbstractElement &e, unsigned int neqn, std::vector< FadType > &elem_f)
 Evaluate element post operator.
virtual void nodeInit (const FEApp::NodeBC &bc, unsigned int neqn, std::vector< FadType > *node_xdot, std::vector< FadType > &node_x)
 Evaulate node init operator.
virtual void nodePost (const FEApp::NodeBC &bc, unsigned int neqn, std::vector< FadType > &node_f)
 Evaluate node post operator.
virtual void finalizeFill ()
 Finalize fill.

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 196 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 344 of file FEApp_InitPostOps.cpp.

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

Destructor.

Definition at line 399 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< FadType > *  elem_xdot,
std::vector< FadType > &  elem_x 
) [virtual]

Evaulate element init operator.

Definition at line 404 of file FEApp_InitPostOps.cpp.

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

Evaluate element post operator.

Definition at line 466 of file FEApp_InitPostOps.cpp.

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

Evaulate node init operator.

Definition at line 504 of file FEApp_InitPostOps.cpp.

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

Evaluate node post operator.

Definition at line 554 of file FEApp_InitPostOps.cpp.

virtual void FEApp::TangentOp::finalizeFill (  )  [inline, virtual]

Finalize fill.

Implements FEApp::AbstractInitPostOp< ScalarT >.

Definition at line 243 of file FEApp_InitPostOps.hpp.

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 256 of file FEApp_InitPostOps.hpp.

double FEApp::TangentOp::j_coeff [protected]

Coefficient of Jacobian matrix.

Definition at line 259 of file FEApp_InitPostOps.hpp.

bool FEApp::TangentOp::sum_derivs [protected]

Whether to sum derivative terms.

Definition at line 262 of file FEApp_InitPostOps.hpp.

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

Time derivative vector (may be null).

Definition at line 265 of file FEApp_InitPostOps.hpp.

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

Solution vector.

Definition at line 268 of file FEApp_InitPostOps.hpp.

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

Parameter vector for parameter derivatives.

Definition at line 271 of file FEApp_InitPostOps.hpp.

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

Seed matrix for state variables.

Definition at line 274 of file FEApp_InitPostOps.hpp.

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

Seed matrix for transient variables.

Definition at line 277 of file FEApp_InitPostOps.hpp.

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

Seed matrix for parameters.

Definition at line 280 of file FEApp_InitPostOps.hpp.

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

Residual vector.

Definition at line 283 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 286 of file FEApp_InitPostOps.hpp.

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

Tangent matrix df/dp*V_p.

Definition at line 289 of file FEApp_InitPostOps.hpp.

int FEApp::TangentOp::num_cols_x [protected]

Stores number of columns in seed matrix V.

Definition at line 292 of file FEApp_InitPostOps.hpp.

int FEApp::TangentOp::num_cols_p [protected]

Stores number of columns in seend matrix Vp.

Definition at line 295 of file FEApp_InitPostOps.hpp.

int FEApp::TangentOp::num_cols_tot [protected]

Stores the total number of columns.

Definition at line 298 of file FEApp_InitPostOps.hpp.

int FEApp::TangentOp::param_offset [protected]

Stores the parameter offset.

Definition at line 301 of file FEApp_InitPostOps.hpp.


The documentation for this class was generated from the following files:
Generated on Wed May 12 21:59:11 2010 for Sacado Package Browser (Single Doxygen Collection) by  doxygen 1.4.7