Go to the documentation of this file.00001
00002
00003
00004
00005
00006 #ifndef ALBANY_NETWORKS_HPP
00007 #define ALBANY_NETWORKS_HPP
00008
00009 #include "Piro_Epetra_NECoupledModelEvaluator.hpp"
00010
00011 namespace Albany {
00012
00013 class ReactorNetworkModel : public Piro::Epetra::AbstractNetworkModel {
00014
00015 public:
00016
00018 ReactorNetworkModel(int n_) : n(n_) {}
00019
00021 virtual ~ReactorNetworkModel() {}
00022
00024 virtual void evalModel(
00025 const Teuchos::Array<EpetraExt::ModelEvaluator::InArgs>& model_inargs,
00026 const Teuchos::Array<EpetraExt::ModelEvaluator::OutArgs>& model_outargs,
00027 const EpetraExt::ModelEvaluator::InArgs& network_inargs,
00028 const EpetraExt::ModelEvaluator::OutArgs& network_outargs,
00029 const Teuchos::Array<int>& n_p,
00030 const Teuchos::Array<int>& n_g,
00031 const Teuchos::Array< Teuchos::RCP<Epetra_Vector> >& p,
00032 const Teuchos::Array< Teuchos::RCP<Epetra_Vector> >& g,
00033 const Teuchos::Array< Teuchos::RCP<Epetra_MultiVector> >& dgdp,
00034 const Teuchos::Array<EpetraExt::ModelEvaluator::EDerivativeMultiVectorOrientation>& dgdp_layout,
00035 const Teuchos::Array<EpetraExt::ModelEvaluator::OutArgs::sg_vector_t>& p_sg,
00036 const Teuchos::Array<EpetraExt::ModelEvaluator::OutArgs::sg_vector_t>& g_sg,
00037 const Teuchos::Array<Teuchos::RCP<Stokhos::EpetraMultiVectorOrthogPoly> >& dgdp_sg,
00038 const Teuchos::Array<EpetraExt::ModelEvaluator::EDerivativeMultiVectorOrientation>& dgdp_sg_layout) const;
00039
00040 protected:
00041 int n;
00042 };
00043
00044 }
00045
00046 #endif
00047