[cig-commits] commit: modifying some CapItAlIsaTIoN in these plugins because they were wrong and breaking

Mercurial hg at geodynamics.org
Fri Feb 5 12:10:17 PST 2010


changeset:   812:1b7d15d1c112
branch:      1.4.x
user:        JulianGiordani
date:        Fri Jan 15 10:05:11 2010 +1100
files:       plugins/Output/AverageTemperature/AverageTemperature.c plugins/Output/BoundaryLayers/BoundaryLayers.c plugins/Output/BuoyancyIntegrals/BuoyancyIntegrals.c
description:
modifying some CapItAlIsaTIoN in these plugins because they were wrong and breaking


diff -r d7d947597d6d -r 1b7d15d1c112 plugins/Output/AverageTemperature/AverageTemperature.c
--- a/plugins/Output/AverageTemperature/AverageTemperature.c	Thu Jan 14 17:41:33 2010 +1100
+++ b/plugins/Output/AverageTemperature/AverageTemperature.c	Fri Jan 15 10:05:11 2010 +1100
@@ -80,7 +80,7 @@ Index Underworld_AverageTemperature_Regi
 
 void Underworld_AverageTemperature_Output( void* _context ) {
 	UnderworldContext* context       = (UnderworldContext*) _context;
-	FeVariable*        temperatureFe = (FeVariable* ) LiveComponentRegister_Get( context->CF->LCRegister, (Name)"temperatureField" );
+	FeVariable*        temperatureFe = (FeVariable* ) LiveComponentRegister_Get( context->CF->LCRegister, (Name)"TemperatureField" );
 	FeMesh*		   mesh         = temperatureFe->feMesh;
 	IntegrationPointsSwarm* swarm    = (IntegrationPointsSwarm* )LiveComponentRegister_Get( context->CF->LCRegister, (Name)"gaussSwarm"  );
 	IntegrationPoint*  particle;
diff -r d7d947597d6d -r 1b7d15d1c112 plugins/Output/BoundaryLayers/BoundaryLayers.c
--- a/plugins/Output/BoundaryLayers/BoundaryLayers.c	Thu Jan 14 17:41:33 2010 +1100
+++ b/plugins/Output/BoundaryLayers/BoundaryLayers.c	Fri Jan 15 10:05:11 2010 +1100
@@ -178,7 +178,7 @@ double Underworld_BoundaryLayers_Interna
 	IntegrationPoint*   particle;
 	double              bottomLayerHeight;
 	double              topLayerHeight;
-	FeVariable*         temperatureField       = (FeVariable* ) LiveComponentRegister_Get( context->CF->LCRegister, (Name)"temperatureField"  );
+	FeVariable*         temperatureField       = (FeVariable* ) LiveComponentRegister_Get( context->CF->LCRegister, (Name)"TemperatureField"  );
 	FeMesh*		    mesh                   = temperatureField->feMesh;
 	Element_LocalIndex  lElement_I;
 	Node_LocalIndex    	nodeAtElementBottom;
diff -r d7d947597d6d -r 1b7d15d1c112 plugins/Output/BuoyancyIntegrals/BuoyancyIntegrals.c
--- a/plugins/Output/BuoyancyIntegrals/BuoyancyIntegrals.c	Thu Jan 14 17:41:33 2010 +1100
+++ b/plugins/Output/BuoyancyIntegrals/BuoyancyIntegrals.c	Fri Jan 15 10:05:11 2010 +1100
@@ -293,7 +293,7 @@ void perform_integrals( UnderworldContex
 	ctx = (Underworld_BuoyancyIntegrals_CTX*)LiveComponentRegister_Get( context->CF->LCRegister, (Name)Underworld_BuoyancyIntegrals_Type );
 	
 	velocityField = (FeVariable* )LiveComponentRegister_Get( context->CF->LCRegister, (Name)"VelocityField" );
-	temperatureField = (FeVariable* )LiveComponentRegister_Get( context->CF->LCRegister, (Name)"temperatureField" );
+	temperatureField = (FeVariable* )LiveComponentRegister_Get( context->CF->LCRegister, (Name)"TemperatureField" );
 	gaussSwarm = (Swarm* )LiveComponentRegister_Get( context->CF->LCRegister, (Name)"gaussSwarm" );
 
 	/* initialise values to compute */
@@ -426,7 +426,7 @@ void eval_temperature( UnderworldContext
 	
 	ctx = (Underworld_BuoyancyIntegrals_CTX*)LiveComponentRegister_Get( context->CF->LCRegister, (Name)Underworld_BuoyancyIntegrals_Type );
 	
-	temperatureField = (FeVariable* )LiveComponentRegister_Get( context->CF->LCRegister, (Name)"temperatureField"  );
+	temperatureField = (FeVariable* )LiveComponentRegister_Get( context->CF->LCRegister, (Name)"TemperatureField"  );
 	/* Get x_b, and z_b from xml */
 	/* "cylinder" z_b = CentreZ (0.5), x_b = CentreX (1.0) */
 	if (ctx->dim==3){
@@ -497,7 +497,7 @@ void Underworld_BuoyancyIntegrals_Output
 	
 	ctx = (Underworld_BuoyancyIntegrals_CTX*)LiveComponentRegister_Get( context->CF->LCRegister, (Name)Underworld_BuoyancyIntegrals_Type );
 	
-	temperatureField = (FeVariable* )LiveComponentRegister_Get( context->CF->LCRegister, (Name)"temperatureField"  );
+	temperatureField = (FeVariable* )LiveComponentRegister_Get( context->CF->LCRegister, (Name)"TemperatureField"  );
 	
 	StgFEM_FrequentOutput_PrintValue( context, B );
 	StgFEM_FrequentOutput_PrintValue( context, w_bar );



More information about the CIG-COMMITS mailing list