[cig-commits] commit: Fix compile errors when not using hdf5
Mercurial
hg at geodynamics.org
Thu Jan 12 09:34:32 PST 2012
changeset: 825:22b3e3497e17
tag: tip
user: Walter Landry <wlandry at caltech.edu>
date: Thu Jan 12 09:33:31 2012 -0800
files: Discretisation/src/FeVariable.cxx
description:
Fix compile errors when not using hdf5
diff -r b4456b09393a -r 22b3e3497e17 Discretisation/src/FeVariable.cxx
--- a/Discretisation/src/FeVariable.cxx Wed Jan 11 11:54:14 2012 -0800
+++ b/Discretisation/src/FeVariable.cxx Thu Jan 12 09:33:31 2012 -0800
@@ -2149,7 +2149,7 @@ void FeVariable_SaveToFile( void* feVari
__func__, self->type, self->name, filename );
for ( lNode_I = 0; lNode_I < FeMesh_GetNodeLocalSize( self->feMesh ); lNode_I++ ) {
- gNode_I = FeMesh_NodeDomainToGlobal( self->feMesh, lNode_I );
+ Node_GlobalIndex gNode_I = FeMesh_NodeDomainToGlobal( self->feMesh, lNode_I );
fprintf( outputFile, "%u ", gNode_I );
/** If required, write the node coords to file */
@@ -2441,7 +2441,7 @@ void FeVariable_ReadFromFile( void* feVa
/** Need to re-set the geometry here, in case we're loading from a checkpoint that had compression/squashing BCs,
and hence ended up with a smaller mesh than the original */
- nDims = Mesh_GetDimSize( self->feMesh );
+ unsigned int nDims = Mesh_GetDimSize( self->feMesh );
while ( !feof(inputFile) ) {
fscanf( inputFile, "%u ", &gNode_I );
More information about the CIG-COMMITS
mailing list