[cig-commits] commit: typoes fixed.

Mercurial hg at geodynamics.org
Mon Nov 24 11:30:55 PST 2008


changeset:   88:998d686af6c1
user:        MirkoVelic
date:        Wed Apr 09 05:32:43 2008 +0000
files:       Utils/src/PCDVC.c Utils/src/PCDVC.h
description:
typoes fixed.


diff -r e30e1a7cc150 -r 998d686af6c1 Utils/src/PCDVC.c
--- a/Utils/src/PCDVC.c	Wed Apr 09 04:37:08 2008 +0000
+++ b/Utils/src/PCDVC.c	Wed Apr 09 05:32:43 2008 +0000
@@ -222,6 +222,7 @@ void _PCDVC_Construct( void* pcdvc, Stg_
 	Bool Inflow;
 	double CentPosRatio;
 	int ParticlesPerCell;
+	double Thresh;
 
 	_DVCWeights_Construct( self, cf, data );
 	materialPointsSwarm = Stg_ComponentFactory_ConstructByKey( cf, self->name, "MaterialPointsSwarm", MaterialPointsSwarm, True, data );
@@ -1463,7 +1464,7 @@ void _PCDVC_Calculate2D( void* pcdvc, vo
 	/**************************************/
 	/**************************************/
 	nump_orig=nump;
-//	if(1){
+//	if(0){
 	if(nump_orig < (int)(0.8*ParticlesPerCell) && Inflow){
 	      FILE *fp,*fp2;
 	      char title[30],title2[30];
diff -r e30e1a7cc150 -r 998d686af6c1 Utils/src/PCDVC.h
--- a/Utils/src/PCDVC.h	Wed Apr 09 04:37:08 2008 +0000
+++ b/Utils/src/PCDVC.h	Wed Apr 09 05:32:43 2008 +0000
@@ -80,7 +80,7 @@
               //  int upT; 
               //  int lowT;
 
-#define __PCDVC __DVCWeights MaterialPointsSwarm* materialPointsSwarm; double upperT; double lowerT; Bool splitInInterfaceCells; int maxDeletions; int maxSplits; Bool Inflow; double CentPosRatio; int ParticlesPerCell, double Threshold;
+#define __PCDVC __DVCWeights MaterialPointsSwarm* materialPointsSwarm; double upperT; double lowerT; Bool splitInInterfaceCells; int maxDeletions; int maxSplits; Bool Inflow; double CentPosRatio; int ParticlesPerCell; double Threshold;
 
 struct PCDVC { __PCDVC };
 



More information about the CIG-COMMITS mailing list