00001
00002
00003
00004
00005
00006
00007 #include "FieldNameMap.hpp"
00008
00009 namespace LCM {
00010
00011
00012 FieldNameMap::FieldNameMap(bool surface_flag)
00013 {
00014 Teuchos::RCP<std::map<std::string, std::string> > name_map =
00015 Teuchos::rcp( new std::map<std::string, std::string> );
00016
00017 name_map->insert( std::make_pair("Cauchy_Stress","Cauchy_Stress") );
00018 name_map->insert( std::make_pair("PK1","PK1") );
00019 name_map->insert( std::make_pair("Fp","Fp") );
00020 name_map->insert( std::make_pair("logFp","logFp") );
00021 name_map->insert( std::make_pair("eqps","eqps") );
00022 name_map->insert( std::make_pair("Matrix_Energy","Matrix_Energy") );
00023 name_map->insert( std::make_pair("F1_Energy","F1_Energy") );
00024 name_map->insert( std::make_pair("F2_Energy","F2_Energy") );
00025 name_map->insert( std::make_pair("Matrix_Damage","Matrix_Damage") );
00026 name_map->insert( std::make_pair("F1_Damage","F1_Damage") );
00027 name_map->insert( std::make_pair("F2_Damage","F2_Damage") );
00028 name_map->insert( std::make_pair("Void_Volume","Void_Volume") );
00029 name_map->insert( std::make_pair("isoHardening","isoHardening") );
00030 name_map->insert( std::make_pair("ess","ess") );
00031 name_map->insert( std::make_pair("Energy","Energy") );
00032 name_map->insert( std::make_pair("Material Tangent","Material Tangent") );
00033 name_map->insert( std::make_pair("Temperature","Temperature") );
00034 name_map->insert( std::make_pair("Mechanical_Source","Mechanical_Source") );
00035 name_map->insert( std::make_pair("F","F") );
00036 name_map->insert( std::make_pair("J","J") );
00037 name_map->insert( std::make_pair("Velocity_Gradient","Velocity_Gradient") );
00038
00039 name_map->insert( std::make_pair("Total_Stress","Total_Stress") );
00040 name_map->insert( std::make_pair("KCPermeability","KCPermeability") );
00041 name_map->insert( std::make_pair("Biot_Modulus","Biot_Modulus") );
00042 name_map->insert( std::make_pair("Biot_Coefficient","Biot_Coefficient") );
00043 name_map->insert( std::make_pair("Porosity","Porosity") );
00044 name_map->insert( std::make_pair("Pore_Pressure","Pore_Pressure") );
00045
00046 name_map->insert( std::make_pair("Transport","Transport") );
00047 name_map->insert( std::make_pair("HydroStress","HydroStress") );
00048 name_map->insert( std::make_pair("Diffusion_Coefficient","Diffusion_Coefficient") );
00049 name_map->insert( std::make_pair("Tau_Contribution","Tau_Contribution") );
00050 name_map->insert( std::make_pair("Trapped_Concentration","Trapped_Concentration") );
00051 name_map->insert( std::make_pair("Total_Concentration","Total_Concentration") );
00052 name_map->insert( std::make_pair("Effective_Diffusivity","Effective_Diffusivity") );
00053 name_map->insert( std::make_pair("Trapped_Solvent","Trapped_Solvent") );
00054 name_map->insert( std::make_pair("Strain_Rate_Factor","Strain_Rate_Factor") );
00055 name_map->insert( std::make_pair("Concentration_Equilibrium_Parameter",
00056 "Concentration_Equilibrium_Parameter") );
00057 name_map->insert( std::make_pair("Gradient_Element_Length",
00058 "Gradient_Element_Length") );
00059
00060 name_map->insert( std::make_pair("Back_Stress","Back_Stress") );
00061 name_map->insert( std::make_pair("Cap_Parameter","Cap_Parameter") );
00062 name_map->insert( std::make_pair("volPlastic_Strain","volPlastic_Strain") );
00063 name_map->insert( std::make_pair("Strain","Strain") );
00064 name_map->insert( std::make_pair("Friction_Parameter","Friction_Parameter") );
00065
00066 if ( surface_flag ) {
00067 std::map<std::string, std::string>::iterator it;
00068 for (it = name_map->begin(); it != name_map->end(); ++it) {
00069 it->second = "surf_"+it->second;
00070 }
00071 }
00072 field_name_map_ = name_map;
00073 }
00074
00075
00076 FieldNameMap::~FieldNameMap()
00077 {
00078 }
00079 }