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

AAdapt_AbstractAdapter.cpp

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 
00008 #include "AAdapt_AbstractAdapter.hpp"
00009 
00010 // Generic implementations that can be used by derived adapters
00011 
00012 namespace AAdapt {
00013 
00014 //----------------------------------------------------------------------------
00015 AAdapt::AbstractAdapter::
00016 AbstractAdapter(const Teuchos::RCP<Teuchos::ParameterList>& params,
00017                 const Teuchos::RCP<ParamLib>& param_lib,
00018                 Albany::StateManager& state_mgr,
00019                 const Teuchos::RCP<const Epetra_Comm>& comm) :
00020   output_stream_(Teuchos::VerboseObjectBase::getDefaultOStream()),
00021   adapt_params_(params),
00022   param_lib_(param_lib),
00023   state_mgr_(state_mgr),
00024   epetra_comm_(comm)
00025 {}
00026 
00027 //----------------------------------------------------------------------------
00028 Teuchos::RCP<Teuchos::ParameterList>
00029 AAdapt::AbstractAdapter::
00030 getGenericAdapterParams(std::string listname) const {
00031   Teuchos::RCP<Teuchos::ParameterList> valid_pl =
00032     Teuchos::rcp(new Teuchos::ParameterList(listname));
00033 
00034   valid_pl->set<std::string>("Method",
00035                              "",
00036                              "String to designate adapter class");
00037 
00038   return valid_pl;
00039 }
00040 //----------------------------------------------------------------------------
00041 }

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