6#include "Thyra_VectorSpaceBase.hpp"
13Teuchos::RCP<Thyra::VectorBase<panzer::Traits::RealType> >
18 using Teuchos::rcp_dynamic_cast;
27 RCP<LinearObjContainer> loc =
linObjFactory_->buildGhostedLinearObjContainer();
30 RCP<TOC> th_loc = rcp_dynamic_cast<TOC>(loc);
31 return th_loc->get_f_th();
34Teuchos::RCP<Thyra::VectorBase<panzer::Traits::RealType> >
48Teuchos::RCP<Thyra::VectorBase<panzer::Traits::RealType> >
53 using Teuchos::rcp_dynamic_cast;
57 RCP<const ObjFactory> objFactory = rcp_dynamic_cast<const ObjFactory>(
linObjFactory_);
58 return Thyra::createMember(objFactory->getThyraRangeSpace());
64Teuchos::RCP<Thyra::LinearOpBase<panzer::Traits::RealType> >
69 using Teuchos::rcp_dynamic_cast;
78 RCP<LinearObjContainer> loc =
linObjFactory_->buildGhostedLinearObjContainer();
81 RCP<TOC> th_loc = rcp_dynamic_cast<TOC>(loc);
82 return th_loc->get_A_th();
85Teuchos::RCP<Thyra::LinearOpBase<panzer::Traits::RealType> >
99Teuchos::RCP<Thyra::LinearOpBase<panzer::Traits::RealType> >
104 using Teuchos::rcp_dynamic_cast;
108 RCP<const ObjFactory> objFactory = rcp_dynamic_cast<const ObjFactory>(
linObjFactory_);
109 return objFactory->getThyraMatrix();
115#ifdef Panzer_BUILD_HESSIAN_SUPPORT
117Teuchos::RCP<Thyra::LinearOpBase<panzer::Traits::RealType> >
122 using Teuchos::rcp_dynamic_cast;
131 RCP<LinearObjContainer> loc =
linObjFactory_->buildGhostedLinearObjContainer();
134 RCP<TOC> th_loc = rcp_dynamic_cast<TOC>(loc);
135 return th_loc->get_A_th();
138Teuchos::RCP<Thyra::LinearOpBase<panzer::Traits::RealType> >
152Teuchos::RCP<Thyra::LinearOpBase<panzer::Traits::RealType> >
157 using Teuchos::rcp_dynamic_cast;
161 RCP<const ObjFactory> objFactory = rcp_dynamic_cast<const ObjFactory>(
linObjFactory_);
162 return objFactory->getThyraMatrix();
Response_Residual(const std::string &responseName, const Teuchos::RCP< const panzer::LinearObjFactory< panzer::Traits > > &lof)
Teuchos::RCP< Thyra::LinearOpBase< panzer::Traits::RealType > > ghostedHessian_
Teuchos::RCP< Thyra::LinearOpBase< panzer::Traits::RealType > > hessian_
Teuchos::RCP< const panzer::LinearObjFactory< panzer::Traits > > linObjFactory_
Teuchos::RCP< Thyra::LinearOpBase< panzer::Traits::RealType > > jacobian_
Teuchos::RCP< const panzer::LinearObjFactory< panzer::Traits > > linObjFactory_
Teuchos::RCP< Thyra::LinearOpBase< panzer::Traits::RealType > > ghostedJacobian_
Response_Residual(const std::string &responseName, const Teuchos::RCP< const panzer::LinearObjFactory< panzer::Traits > > &lof)
Teuchos::RCP< const panzer::LinearObjFactory< panzer::Traits > > linObjFactory_
Response_Residual(const std::string &responseName, const Teuchos::RCP< const panzer::LinearObjFactory< panzer::Traits > > &lof)
Teuchos::RCP< Thyra::VectorBase< panzer::Traits::RealType > > ghostedResidual_
Teuchos::RCP< Thyra::VectorBase< panzer::Traits::RealType > > residual_