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

StVenantKirchhoffModel.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_StVenantKirchhoff_hpp)
00008 #define LCM_StVenantKirchhoff_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 StVenantKirchhoffModel: 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   using ConstitutiveModel<EvalT, Traits>::compute_energy_;
00033   using ConstitutiveModel<EvalT, Traits>::compute_tangent_;
00034 
00038   StVenantKirchhoffModel(Teuchos::ParameterList* p,
00039       const Teuchos::RCP<Albany::Layouts>& dl);
00040 
00044   virtual
00045   ~StVenantKirchhoffModel()
00046   {};
00047 
00051   virtual
00052   void
00053   computeState(typename Traits::EvalData workset,
00054       std::map<std::string, Teuchos::RCP<PHX::MDField<ScalarT> > > dep_fields,
00055       std::map<std::string, Teuchos::RCP<PHX::MDField<ScalarT> > > eval_fields);
00056 
00057 private:
00058 
00062   StVenantKirchhoffModel(const StVenantKirchhoffModel&);
00063 
00067   StVenantKirchhoffModel& operator=(const StVenantKirchhoffModel&);
00068 
00069 };
00070 }
00071 
00072 #endif

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