// @HEADER // ***************************************************************************** // Panzer: A partial differential equation assembly // engine for strongly coupled complex multiphysics systems // // Copyright 2011 NTESS and the Panzer contributors. // SPDX-License-Identifier: BSD-3-Clause // ***************************************************************************** // @HEADER #ifndef __Panzer_ThyraObjFactory_hpp__ #define __Panzer_ThyraObjFactory_hpp__ #include "PanzerDiscFE_config.hpp" #include "Teuchos_RCP.hpp" #include "Teuchos_dyn_cast.hpp" namespace Thyra { template class VectorSpaceBase; template class LinearOpBase; } namespace panzer { template class ThyraObjFactory { public: virtual ~ThyraObjFactory() {} //! Get the domain space virtual Teuchos::RCP > getThyraDomainSpace() const = 0; //! Get the range space virtual Teuchos::RCP > getThyraRangeSpace() const = 0; //! Get a matrix operator virtual Teuchos::RCP > getThyraMatrix() const = 0; }; } #endif