• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

Albany_ResponseUtilities.hpp

Go to the documentation of this file.
00001 //*****************************************************************//
00002 //    Albany 2.0:  Copyright 2012 Sandia Corporation               //
00003 //    This Software is released under the BSD license detailed     //
00004 //    in the file "license.txt" in the top-level Albany directory  //
00005 //*****************************************************************//
00006 
00007 #ifndef ALBANY_RESPONSEUTILITIES_HPP
00008 #define ALBANY_RESPONSEUTILITIES_HPP
00009 
00010 #include "Teuchos_RCP.hpp"
00011 #include "Teuchos_ParameterList.hpp"
00012 
00013 #include "PHAL_AlbanyTraits.hpp"
00014 #include "Albany_ProblemUtils.hpp"
00015 
00016 #include "Phalanx.hpp"
00017 
00018 
00020 namespace Albany {
00021 
00027   template<typename EvalT, typename Traits>
00028   class ResponseUtilities {
00029 
00030     public:
00031 
00032     ResponseUtilities(Teuchos::RCP<Albany::Layouts> dl);
00033   
00035     Teuchos::RCP<const PHX::FieldTag>
00036     constructResponses(
00037       PHX::FieldManager<PHAL::AlbanyTraits>& fm0,
00038       Teuchos::ParameterList& responseList, 
00039       Teuchos::RCP<Teuchos::ParameterList> paramsFromProblem, 
00040       Albany::StateManager& stateMgr);
00041 
00044     Teuchos::RCP<const PHX::FieldTag>
00045     constructResponses(
00046       PHX::FieldManager<PHAL::AlbanyTraits>& fm0,
00047       Teuchos::ParameterList& responseList, 
00048       Albany::StateManager& stateMgr) {
00049       return constructResponses(fm0, responseList, Teuchos::null, stateMgr);
00050     }
00051  
00053     Teuchos::RCP<Albany::Layouts> get_dl() { return dl;};
00054 
00055    private:
00056 
00058     Teuchos::RCP<Albany::Layouts> dl;
00059   };
00060 }
00061 
00062 #endif

Generated on Wed Mar 26 2014 18:36:36 for Albany: a Trilinos-based PDE code by  doxygen 1.7.1