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_DISCRETIZATIONSAMPLEDOFLISTPROVIDER_HPP 00008 #define ALBANY_DISCRETIZATIONSAMPLEDOFLISTPROVIDER_HPP 00009 00010 #include "MOR_SampleDofListFactory.hpp" 00011 00012 #include "Albany_AbstractDiscretization.hpp" 00013 00014 namespace Albany { 00015 00016 class DiscretizationSampleDofListProvider : public MOR::SampleDofListFactory::DofListProvider { 00017 public: 00018 explicit DiscretizationSampleDofListProvider(const Teuchos::RCP<const AbstractDiscretization> &disc); 00019 virtual Teuchos::Array<int> operator()(const Teuchos::RCP<Teuchos::ParameterList> ¶ms); 00020 00021 private: 00022 Teuchos::RCP<const AbstractDiscretization> disc_; 00023 }; 00024 00025 } // end namespace Albany 00026 00027 #endif /* ALBANY_DISCRETIZATIONSAMPLEDOFLISTPROVIDER_HPP */