version 1.6, 2005/02/22 16:54:46
|
version 1.7, 2008/09/25 00:01:29
|
|
|
* | * |
* Revision History: | * Revision History: |
* $Log$ | * $Log$ |
|
* Revision 1.7 2008/09/25 00:01:29 jones |
|
* Updated to run with gfortran compiler |
|
* |
|
* Revision 1.6.6.1 2007/09/10 21:32:47 pcarter |
|
* Implemented changes to allow compilation on RHEL 3,4,5 and MacOSX |
|
* |
* Revision 1.6 2005/02/22 16:54:46 saw | * Revision 1.6 2005/02/22 16:54:46 saw |
* Clean up some diagnostic printfs | * Clean up some diagnostic printfs |
* | * |
|
|
thisleaf = thisbranch->leaflistp; | thisleaf = thisbranch->leaflistp; |
while(thisleaf) { | while(thisleaf) { |
if(thisleaf->varp->type == DAVARINT) { | if(thisleaf->varp->type == DAVARINT) { |
*((DAINT *)(structp))++ = *((DAINT *)thisleaf->varp->varptr |
*(DAINT *)(structp) = *((DAINT *)thisleaf->varp->varptr + thisleaf->index);/*phil*/ |
+ thisleaf->index); |
structp = (void *) (DAINT *) ((DAINT *)structp + 1); |
/* printf(" %s=%d\n",thisleaf->name,*((DAINT *)thisleaf->varp->varptr | /* printf(" %s=%d\n",thisleaf->name,*((DAINT *)thisleaf->varp->varptr |
+ thisleaf->index));*/ | + thisleaf->index));*/ |
} else if(thisleaf->varp->type == DAVARFLOAT) { | } else if(thisleaf->varp->type == DAVARFLOAT) { |
*((DAFLOAT *)(structp))++ = *((DAFLOAT *)thisleaf->varp->varptr |
*(DAFLOAT *)(structp) = *((DAFLOAT *)thisleaf->varp->varptr + thisleaf->index);/*phil*/ |
+ thisleaf->index); |
structp = (void *) (DAFLOAT *) ((DAFLOAT *)structp + 1); |
/* printf(" %s=%f\n",thisleaf->name,*((DAFLOAT *)thisleaf->varp->varptr | /* printf(" %s=%f\n",thisleaf->name,*((DAFLOAT *)thisleaf->varp->varptr |
+ thisleaf->index));*/ | + thisleaf->index));*/ |
} else if(thisleaf->varp->type == DAVARDOUBLE) { | } else if(thisleaf->varp->type == DAVARDOUBLE) { |
*((DADOUBLE *)(structp))++ = *((DADOUBLE *)thisleaf->varp->varptr |
*(DADOUBLE *)(structp) = *((DADOUBLE *)thisleaf->varp->varptr + thisleaf->index);/*phil*/ |
+ thisleaf->index); |
structp = (void *) (DADOUBLE *) ((DADOUBLE *)structp + 1); |
/* printf(" %s=%lf\n",thisleaf->name,*((DADOUBLE *)thisleaf->varp->varptr | /* printf(" %s=%lf\n",thisleaf->name,*((DADOUBLE *)thisleaf->varp->varptr |
+ thisleaf->index));*/ | + thisleaf->index));*/ |
} | } |