Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007 #if !defined(LCM_AnisotropicHyperelasticDamageModel_hpp)
00008 #define LCM_AnisotropicHyperelasticDamageModel_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 AnisotropicHyperelasticDamageModel: public LCM::ConstitutiveModel<EvalT,
00023 Traits>
00024 {
00025 public:
00026
00027 typedef typename EvalT::ScalarT ScalarT;
00028 typedef typename EvalT::MeshScalarT MeshScalarT;
00029
00030 using ConstitutiveModel<EvalT, Traits>::num_dims_;
00031 using ConstitutiveModel<EvalT, Traits>::num_pts_;
00032 using ConstitutiveModel<EvalT, Traits>::field_name_map_;
00033
00037 AnisotropicHyperelasticDamageModel(Teuchos::ParameterList* p,
00038 const Teuchos::RCP<Albany::Layouts>& dl);
00039
00042 virtual
00043 ~AnisotropicHyperelasticDamageModel()
00044 {};
00045
00049 virtual
00050 void
00051 computeState(typename Traits::EvalData workset,
00052 std::map<std::string, Teuchos::RCP<PHX::MDField<ScalarT> > > dep_fields,
00053 std::map<std::string, Teuchos::RCP<PHX::MDField<ScalarT> > > eval_fields);
00054
00055 private:
00056
00060 AnisotropicHyperelasticDamageModel(const AnisotropicHyperelasticDamageModel&);
00061
00065 AnisotropicHyperelasticDamageModel& operator=(
00066 const AnisotropicHyperelasticDamageModel&);
00067
00071 RealType k_f1_, q_f1_, volume_fraction_f1_, max_damage_f1_, saturation_f1_;
00072
00076 RealType k_f2_, q_f2_, volume_fraction_f2_, max_damage_f2_, saturation_f2_;
00077
00081 RealType volume_fraction_m_, max_damage_m_, saturation_m_;
00082
00086 std::vector<RealType> direction_f1_;
00087
00091 std::vector<RealType> direction_f2_;
00092
00093 };
00094 }
00095
00096 #endif