[cig-commits] commit: Fix a bug when wrapping the bottom surface
Mercurial
hg at geodynamics.org
Fri Mar 12 07:04:20 PST 2010
changeset: 824:5bbf0a0f2fb0
tag: tip
user: Walter Landry <wlandry at caltech.edu>
date: Fri Mar 12 07:01:19 2010 -0800
files: plugins/EulerDeform/EulerDeform.c
description:
Fix a bug when wrapping the bottom surface
diff -r 4f4d45c3bade -r 5bbf0a0f2fb0 plugins/EulerDeform/EulerDeform.c
--- a/plugins/EulerDeform/EulerDeform.c Wed Mar 10 14:51:55 2010 -0800
+++ b/plugins/EulerDeform/EulerDeform.c Fri Mar 12 07:01:19 2010 -0800
@@ -831,6 +831,8 @@ void EulerDeform_Remesh_Corner(Mesh *mes
}
}
+void EulerDeform_WrapSurface( EulerDeform_System* sys, double** oldCrds, int top );
+
void EulerDeform_Remesh( TimeIntegrand* crdAdvector, EulerDeform_Context* edCtx ) {
Mesh_Algorithms *tmpAlgs, *oldAlgs;
unsigned sys_i;
@@ -1039,6 +1041,7 @@ void EulerDeform_InterpVar( FieldVariabl
FreeArray( newVals );
}
+void EulerDeform_InternalLoop( EulerDeform_System* sys, Grid* grm, double** oldCrds, unsigned* ijk, unsigned curDim, int top );
void EulerDeform_WrapSurface( EulerDeform_System* sys, double** oldCrds, int top ) {
IJK ijk;
@@ -1201,7 +1204,7 @@ void EulerDeform_InternalLoop( EulerDefo
ijk[1] = grm->sizes[curDim] - 1;
}
else {
- ijk[0]=0;
+ ijk[1]=0;
}
EulerDeform_InternalLoop( sys, grm, oldCrds, ijk, curDim + 1, top );
}
More information about the CIG-COMMITS
mailing list