[cig-commits] commit: Require pressure for DruckerPrager and StrainRate for VonMises

Mercurial hg at geodynamics.org
Sun Oct 23 19:28:20 PDT 2011


changeset:   898:2bcdefd04505
user:        Walter Landry <wlandry at caltech.edu>
date:        Sun Oct 23 19:25:43 2011 -0700
files:       Rheology/src/DruckerPrager.cxx Rheology/src/VonMises.cxx
description:
Require pressure for DruckerPrager and StrainRate for VonMises


diff -r e6b7ddcf70dc -r 2bcdefd04505 Rheology/src/DruckerPrager.cxx
--- a/Rheology/src/DruckerPrager.cxx	Sun Oct 23 11:59:34 2011 -0700
+++ b/Rheology/src/DruckerPrager.cxx	Sun Oct 23 19:25:43 2011 -0700
@@ -221,7 +221,7 @@ void _DruckerPrager_AssignFromXML( void*
 	_VonMises_AssignFromXML( self, cf, data );
 	
 	pressureField      = (FeVariable *) 
-            Stg_ComponentFactory_ConstructByKey( cf, self->name, (Dictionary_Entry_Key)"PressureField", FeVariable, False, data  );
+            Stg_ComponentFactory_ConstructByKey( cf, self->name, (Dictionary_Entry_Key)"PressureField", FeVariable, True, data  );
 			
 	materialPointsSwarm     = (MaterialPointsSwarm*)
 			Stg_ComponentFactory_ConstructByKey( cf, self->name, (Dictionary_Entry_Key)"MaterialPointsSwarm", MaterialPointsSwarm, True, data  );
diff -r e6b7ddcf70dc -r 2bcdefd04505 Rheology/src/VonMises.cxx
--- a/Rheology/src/VonMises.cxx	Sun Oct 23 11:59:34 2011 -0700
+++ b/Rheology/src/VonMises.cxx	Sun Oct 23 19:25:43 2011 -0700
@@ -145,7 +145,7 @@ void _VonMises_AssignFromXML( void* rheo
 	/* Construct Parent */
 	_YieldRheology_AssignFromXML( self, cf, data );
 	
-	strainRateField = Stg_ComponentFactory_ConstructByKey( cf, self->name, (Dictionary_Entry_Key)"StrainRateField", FeVariable, False, data  );
+	strainRateField = Stg_ComponentFactory_ConstructByKey( cf, self->name, (Dictionary_Entry_Key)"StrainRateField", FeVariable, True, data  );
 
 	_VonMises_Init( 
 			self, 



More information about the CIG-COMMITS mailing list