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

AnisotropicDamageModel.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_AnisotropicDamageModel_hpp)
00008 #define LCM_AnisotropicDamageModel_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 
00020 template<typename EvalT, typename Traits>
00021 class AnisotropicDamageModel: public LCM::ConstitutiveModel<EvalT, Traits>
00022 {
00023 public:
00024 
00025   typedef typename EvalT::ScalarT ScalarT;
00026   typedef typename EvalT::MeshScalarT MeshScalarT;
00027 
00028   using ConstitutiveModel<EvalT, Traits>::num_dims_;
00029   using ConstitutiveModel<EvalT, Traits>::num_pts_;
00030   using ConstitutiveModel<EvalT, Traits>::field_name_map_;
00031 
00035   AnisotropicDamageModel(Teuchos::ParameterList* p,
00036       const Teuchos::RCP<Albany::Layouts>& dl);
00037 
00041   virtual
00042   ~AnisotropicDamageModel()
00043   {};
00044 
00048   virtual
00049   void
00050   computeState(typename Traits::EvalData workset,
00051       std::map<std::string, Teuchos::RCP<PHX::MDField<ScalarT> > > dep_fields,
00052       std::map<std::string, Teuchos::RCP<PHX::MDField<ScalarT> > > eval_fields);
00053 
00054 private:
00055 
00059   AnisotropicDamageModel(const AnisotropicDamageModel&);
00060 
00064   AnisotropicDamageModel& operator=(const AnisotropicDamageModel&);
00065 
00069   RealType k_f1_, q_f1_, volume_fraction_f1_, max_damage_f1_, saturation_f1_;
00070 
00074   RealType k_f2_, q_f2_, volume_fraction_f2_, max_damage_f2_, saturation_f2_;
00075 
00079   RealType volume_fraction_m_, max_damage_m_, saturation_m_;
00080 
00084   std::vector<RealType> direction_f1_;
00085 
00089   std::vector<RealType> direction_f2_;
00090 
00091 };
00092 }
00093 
00094 #endif

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