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

CreepModel.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 #if !defined(LCM_CreepModel_hpp)
00008 #define LCM_CreepModel_hpp
00009 
00010 #include "Phalanx_ConfigDefs.hpp"
00011 #include "Phalanx_Evaluator_WithBaseImpl.hpp"
00012 #include "Phalanx_Evaluator_Derived.hpp"
00013 #include "Phalanx_MDField.hpp"
00014 #include "Albany_Layouts.hpp"
00015 #include "LCM/models/ConstitutiveModel.hpp"
00016 
00017 namespace LCM
00018 {
00019 
00021 template<typename EvalT, typename Traits>
00022 class CreepModel: public LCM::ConstitutiveModel<EvalT, Traits>
00023 {
00024 public:
00025 
00026   typedef typename EvalT::ScalarT ScalarT;
00027   typedef typename EvalT::MeshScalarT MeshScalarT;
00028 
00029   using ConstitutiveModel<EvalT, Traits>::num_dims_;
00030   using ConstitutiveModel<EvalT, Traits>::num_pts_;
00031   using ConstitutiveModel<EvalT, Traits>::field_name_map_;
00032 
00033   // optional temperature support
00034   using ConstitutiveModel<EvalT, Traits>::have_temperature_;
00035   using ConstitutiveModel<EvalT, Traits>::expansion_coeff_;
00036   using ConstitutiveModel<EvalT, Traits>::ref_temperature_;
00037   using ConstitutiveModel<EvalT, Traits>::heat_capacity_;
00038   using ConstitutiveModel<EvalT, Traits>::density_;
00039   using ConstitutiveModel<EvalT, Traits>::temperature_;
00040 
00044   CreepModel(Teuchos::ParameterList* p,
00045       const Teuchos::RCP<Albany::Layouts>& dl);
00046 
00050   virtual
00051   ~CreepModel()
00052   {};
00053 
00057   virtual
00058   void
00059   computeState(typename Traits::EvalData workset,
00060       std::map<std::string, Teuchos::RCP<PHX::MDField<ScalarT> > > dep_fields,
00061       std::map<std::string, Teuchos::RCP<PHX::MDField<ScalarT> > > eval_fields);
00062 
00063 private:
00064 
00068   CreepModel(const CreepModel&);
00069 
00073   CreepModel& operator=(const CreepModel&);
00074 
00078   RealType creep_initial_guess;
00079 
00080 };
00081 }
00082 
00083 #endif

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