16 #include "Thyra_VectorSpaceBase.hpp"
28 using Teuchos::rcp_dynamic_cast;
33 if(ghostedResidual_!=Teuchos::null)
34 return ghostedResidual_;
40 RCP<TOC> th_loc = rcp_dynamic_cast<TOC>(loc);
41 return th_loc->get_f_th();
63 using Teuchos::rcp_dynamic_cast;
68 return Thyra::createMember(objFactory->getThyraRangeSpace());
79 using Teuchos::rcp_dynamic_cast;
84 if(ghostedJacobian_!=Teuchos::null)
85 return ghostedJacobian_;
91 RCP<TOC> th_loc = rcp_dynamic_cast<TOC>(loc);
92 return th_loc->get_A_th();
114 using Teuchos::rcp_dynamic_cast;
119 return objFactory->getThyraMatrix();
125 #ifdef Panzer_BUILD_HESSIAN_SUPPORT
132 using Teuchos::rcp_dynamic_cast;
137 if(ghostedHessian_!=Teuchos::null)
138 return ghostedHessian_;
144 RCP<TOC> th_loc = rcp_dynamic_cast<TOC>(loc);
145 return th_loc->get_A_th();
167 using Teuchos::rcp_dynamic_cast;
172 return objFactory->getThyraMatrix();
Teuchos::RCP< Thyra::VectorBase< panzer::Traits::RealType > > getGhostedResidual() const