00001 /* This file is part of Cloudy and is copyright (C)1978-2008 by Gary J. Ferland and 00002 * others. For conditions of distribution and use see copyright notice in license.txt */ 00003 /*InitCoreloadPostparse initialization at start, called from cloudy 00004 * after parser, will be called one time per core load */ 00005 #include "cddefines.h" 00006 #include "assertresults.h" 00007 #include "init.h" 00008 00009 /*InitCoreloadPostparse initialization at start, called from cloudy 00010 * after parser, will be called one time per core load */ 00011 void InitCoreloadPostparse( void ) 00012 { 00013 00014 static int nCalled = 0; 00015 00016 DEBUG_ENTRY( "InitCoreloadPostparse()" ); 00017 00018 /* only do this once per coreload */ 00019 if( nCalled > 0 ) 00020 { 00021 return; 00022 } 00023 00024 /* this is first call, increment the nCalled counter so we never do this again */ 00025 ++nCalled; 00026 00027 assertresults.SumErrorCaseAssert = 0.; 00028 assertresults.nSumErrorCaseAssert = 0; 00029 00030 return; 00031 }