ADflow  v1.0
ADflow is a finite volume RANS solver tailored for gradient-based aerodynamic design optimization.
Classes | Macros | Typedefs | Functions | Variables
adStack.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "adStack.h"
#include "adComplex.h"
Include dependency graph for adStack.c:

Go to the source code of this file.

Classes

struct  _DoubleChainedBlock
 
struct  _RepetitionLevel
 

Macros

#define BLOCK_SIZE   65536
 

Typedefs

typedef struct _DoubleChainedBlock DoubleChainedBlock
 
typedef struct _RepetitionLevel RepetitionLevel
 

Functions

char * pushBlock ()
 
char * popBlock ()
 
void setBackPopToCurrentLocation (RepetitionLevel *repetitionLevel)
 
void setCurrentLocationToBackPop (RepetitionLevel *repetitionLevel)
 
void setResumePointToCurrentLocation (RepetitionLevel *repetitionLevel)
 
void setCurrentLocationToResumePoint (RepetitionLevel *repetitionLevel)
 
void setFreePushToCurrentLocation (RepetitionLevel *repetitionLevel)
 
void setCurrentLocationToFreePush (RepetitionLevel *repetitionLevel)
 
int currentLocationStrictBelowFreePush (RepetitionLevel *repetitionLevel)
 
int currentLocationEqualsFreePush (RepetitionLevel *repetitionLevel)
 
void showLocation (DoubleChainedBlock *locBlock, int loc)
 
void showRepetitionLevels ()
 
int locstrb_ ()
 
int locstro_ ()
 
void checkPushInReadOnly ()
 
void checkPopToReadOnly ()
 
void adStack_startRepeat ()
 
void adStack_resetRepeat ()
 
void adStack_endRepeat ()
 
void pushNArray (char *x, int nbChars)
 
void popNArray (char *x, int nbChars)
 
void pushInteger4Array (int *x, int n)
 
void popInteger4Array (int *x, int n)
 
void pushInteger8Array (long *x, int n)
 
void popInteger8Array (long *x, int n)
 
void pushReal4Array (float *x, int n)
 
void popReal4Array (float *x, int n)
 
void pushReal8Array (double *x, int n)
 
void popReal8Array (double *x, int n)
 
void pushReal16Array (long double *x, int n)
 
void popReal16Array (long double *x, int n)
 
void pushComplex8Array (ccmplx *x, int n)
 
void popComplex8Array (ccmplx *x, int n)
 
void pushComplex16Array (double complex *x, int n)
 
void popComplex16Array (double complex *x, int n)
 
void pushCharacterArray (char *x, int n)
 
void popCharacterArray (char *x, int n)
 
void pushCharacter (char val)
 
void popCharacter (char *val)
 
void pushReal4 (float val)
 
void popReal4 (float *val)
 
void pushReal8 (double val)
 
void popReal8 (double *val)
 
void pushReal16 (long double *val)
 
void popReal16 (long double *val)
 
void pushInteger4 (int val)
 
void popInteger4 (int *val)
 
void pushInteger8 (long val)
 
void popInteger8 (long *val)
 
void pushComplex8 (ccmplx val)
 
void popComplex8 (ccmplx *val)
 
void pushComplex16 (double complex val)
 
void popComplex16 (double complex *val)
 
void pushPointer4 (void *val)
 
void popPointer4 (void **val)
 
void pushPointer8 (void *val)
 
void popPointer8 (void **val)
 
void pushBit (int x)
 
int popBit ()
 
void pushBoolean (int x)
 
void popBoolean (int *x)
 
void pushControl1b (int cc)
 
void popControl1b (int *cc)
 
void pushControl2b (int cc)
 
void popControl2b (int *cc)
 
void pushControl3b (int cc)
 
void popControl3b (int *cc)
 
void pushControl4b (int cc)
 
void popControl4b (int *cc)
 
void pushControl5b (int cc)
 
void popControl5b (int *cc)
 
void pushControl6b (int cc)
 
void popControl6b (int *cc)
 
void pushControl7b (int cc)
 
void popControl7b (int *cc)
 
void pushControl8b (int cc)
 
void popControl8b (int *cc)
 
void adStack_showPeakSize ()
 
void adStack_showTotalTraffic ()
 
void adStack_showStackSize (int label)
 
void adStack_showStack (char *locationName)
 
int stackIsThreadSafe ()
 
void adstack_startrepeat_ ()
 
void adstack_resetrepeat_ ()
 
void adstack_endrepeat_ ()
 
void pushinteger4array_ (int *ii, int *ll)
 
void popinteger4array_ (int *ii, int *ll)
 
void pushinteger8array_ (long *ii, int *ll)
 
void popinteger8array_ (long *ii, int *ll)
 
void pushreal4array_ (float *ii, int *ll)
 
void popreal4array_ (float *ii, int *ll)
 
void pushreal8array_ (double *ii, int *ll)
 
void popreal8array_ (double *ii, int *ll)
 
void pushreal16array_ (long double *ii, int *ll)
 
void popreal16array_ (long double *ii, int *ll)
 
void pushcomplex8array_ (ccmplx *ii, int *ll)
 
void popcomplex8array_ (ccmplx *ii, int *ll)
 
void pushcomplex16array_ (cdcmplx *ii, int *ll)
 
void popcomplex16array_ (cdcmplx *ii, int *ll)
 
void pushcharacterarray_ (char *ii, int *ll)
 
void popcharacterarray_ (char *ii, int *ll)
 
void pushbooleanarray_ (char *x, int *n)
 
void popbooleanarray_ (char *x, int *n)
 
void pushcharacter_ (char *val)
 
void popcharacter_ (char *val)
 
void pushreal4_ (float *val)
 
void popreal4_ (float *val)
 
void pushreal8_ (double *val)
 
void popreal8_ (double *val)
 
void pushreal16_ (long double *val)
 
void popreal16_ (long double *val)
 
void pushinteger4_ (int *val)
 
void popinteger4_ (int *val)
 
void pushinteger8_ (long *val)
 
void popinteger8_ (long *val)
 
void pushcomplex8_ (ccmplx *val)
 
void popcomplex8_ (ccmplx *val)
 
void pushcomplex16_ (cdcmplx *val)
 
void popcomplex16_ (cdcmplx *val)
 
void pushpointer4_ (void **val)
 
void poppointer4_ (void **val)
 
void pushpointer8_ (void **val)
 
void poppointer8_ (void **val)
 
void pushcontrol1b_ (int *cc)
 
void popcontrol1b_ (int *cc)
 
void pushcontrol2b_ (int *cc)
 
void popcontrol2b_ (int *cc)
 
void pushcontrol3b_ (int *cc)
 
void popcontrol3b_ (int *cc)
 
void pushcontrol4b_ (int *cc)
 
void popcontrol4b_ (int *cc)
 
void pushcontrol5b_ (int *cc)
 
void popcontrol5b_ (int *cc)
 
void pushcontrol6b_ (int *cc)
 
void popcontrol6b_ (int *cc)
 
void pushcontrol7b_ (int *cc)
 
void popcontrol7b_ (int *cc)
 
void pushcontrol8b_ (int *cc)
 
void popcontrol8b_ (int *cc)
 
void adstack_showpeaksize_ ()
 
void adstack_showtotaltraffic_ ()
 
void adstack_showstacksize_ (int *label)
 
void adstack_showstack_ (char *locationName)
 
void pushboolean_ (int *x)
 
void popboolean_ (int *x)
 
int stackisthreadsafe_ ()
 

Variables

RepetitionLeveltopRepetitionPoint = NULL
 

Macro Definition Documentation

◆ BLOCK_SIZE

#define BLOCK_SIZE   65536

Definition at line 18 of file adStack.c.

Typedef Documentation

◆ DoubleChainedBlock

◆ RepetitionLevel

Structure keeping the needed info for ONE repetition level. As we can have "nested" repetition levels, these structures can be stacked.

Function Documentation

◆ adStack_endRepeat()

void adStack_endRepeat ( )

Close (i.e. remove) the repetition level created by the latest adStack_startRepeat().

Definition at line 312 of file adStack.c.

Referenced by adstack_endrepeat_().

Here is the caller graph for this function:

◆ adstack_endrepeat_()

void adstack_endrepeat_ ( )

Definition at line 1135 of file adStack.c.

References adStack_endRepeat().

Here is the call graph for this function:

◆ adStack_resetRepeat()

void adStack_resetRepeat ( )

Reset the push-pop stack contents to its contents at the time of the latest adStack_startRepeat() that has not been closed by a subsequent adStack_endRepeat()

Definition at line 285 of file adStack.c.

Referenced by adstack_resetrepeat_().

Here is the caller graph for this function:

◆ adstack_resetrepeat_()

void adstack_resetrepeat_ ( )

Definition at line 1131 of file adStack.c.

References adStack_resetRepeat().

Here is the call graph for this function:

◆ adStack_showPeakSize()

void adStack_showPeakSize ( )

Definition at line 1064 of file adStack.c.

Referenced by adstack_showpeaksize_().

Here is the caller graph for this function:

◆ adstack_showpeaksize_()

void adstack_showpeaksize_ ( )

Definition at line 1363 of file adStack.c.

References adStack_showPeakSize().

Here is the call graph for this function:

◆ adStack_showStack()

void adStack_showStack ( char *  locationName)

Definition at line 1079 of file adStack.c.

Referenced by adstack_showstack_().

Here is the caller graph for this function:

◆ adstack_showstack_()

void adstack_showstack_ ( char *  locationName)

Definition at line 1375 of file adStack.c.

References adStack_showStack().

Here is the call graph for this function:

◆ adStack_showStackSize()

void adStack_showStackSize ( int  label)

Definition at line 1073 of file adStack.c.

References showLocation().

Referenced by adstack_showstacksize_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ adstack_showstacksize_()

void adstack_showstacksize_ ( int *  label)

Definition at line 1371 of file adStack.c.

References adStack_showStackSize().

Here is the call graph for this function:

◆ adStack_showTotalTraffic()

void adStack_showTotalTraffic ( )

Definition at line 1069 of file adStack.c.

Referenced by adstack_showtotaltraffic_().

Here is the caller graph for this function:

◆ adstack_showtotaltraffic_()

void adstack_showtotaltraffic_ ( )

Definition at line 1367 of file adStack.c.

References adStack_showTotalTraffic().

Here is the call graph for this function:

◆ adStack_startRepeat()

void adStack_startRepeat ( )

From now on, and until the matching closing adStack_endRepeat(), the current contents of the push-pop stack are preserved: Even if they are popped, any subsequent adStack_resetRepeat() will reset the push-pop stack to its current contents of now.

Definition at line 235 of file adStack.c.

Referenced by adstack_startrepeat_().

Here is the caller graph for this function:

◆ adstack_startrepeat_()

void adstack_startrepeat_ ( )

Definition at line 1127 of file adStack.c.

References adStack_startRepeat().

Here is the call graph for this function:

◆ checkPopToReadOnly()

void checkPopToReadOnly ( )

If current location is some "freePush" location, go back to its "backPop" location, which is in a protected, read-only section

Definition at line 198 of file adStack.c.

References currentLocationEqualsFreePush(), _RepetitionLevel::hasBackPop, and topRepetitionPoint.

Referenced by popBoolean(), popbooleanarray_(), popCharacterArray(), popComplex16Array(), popComplex8Array(), popControl1b(), popControl2b(), popControl3b(), popControl4b(), popControl5b(), popControl6b(), popControl7b(), popControl8b(), popInteger4Array(), popInteger8Array(), popReal16Array(), popReal4Array(), and popReal8Array().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ checkPushInReadOnly()

void checkPushInReadOnly ( )

◆ currentLocationEqualsFreePush()

int currentLocationEqualsFreePush ( RepetitionLevel repetitionLevel)

Definition at line 138 of file adStack.c.

Referenced by checkPopToReadOnly().

Here is the caller graph for this function:

◆ currentLocationStrictBelowFreePush()

int currentLocationStrictBelowFreePush ( RepetitionLevel repetitionLevel)

Definition at line 126 of file adStack.c.

Referenced by checkPushInReadOnly().

Here is the caller graph for this function:

◆ locstrb_()

int locstrb_ ( )

Definition at line 171 of file adStack.c.

◆ locstro_()

int locstro_ ( )

Definition at line 172 of file adStack.c.

◆ popBit()

int popBit ( )

Definition at line 848 of file adStack.c.

Referenced by popBoolean(), popControl1b(), popControl2b(), popControl3b(), popControl4b(), popControl5b(), popControl6b(), popControl7b(), and popControl8b().

Here is the caller graph for this function:

◆ popBlock()

char * popBlock ( )

retrieve a data block from the double-linked list

Definition at line 366 of file adStack.c.

◆ popBoolean()

void popBoolean ( int *  x)

Definition at line 870 of file adStack.c.

References checkPopToReadOnly(), popBit(), topRepetitionPoint, and blockpointers::x.

Referenced by popboolean_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ popboolean_()

void popboolean_ ( int *  x)

Definition at line 1383 of file adStack.c.

References popBoolean(), and blockpointers::x.

Here is the call graph for this function:

◆ popbooleanarray_()

void popbooleanarray_ ( char *  x,
int *  n 
)

Definition at line 1211 of file adStack.c.

References checkPopToReadOnly(), popNArray(), topRepetitionPoint, and blockpointers::x.

Here is the call graph for this function:

◆ popCharacter()

void popCharacter ( char *  val)

Definition at line 566 of file adStack.c.

Referenced by popcharacter_().

Here is the caller graph for this function:

◆ popcharacter_()

void popcharacter_ ( char *  val)

Definition at line 1223 of file adStack.c.

References popCharacter().

Here is the call graph for this function:

◆ popCharacterArray()

void popCharacterArray ( char *  x,
int  n 
)

Definition at line 542 of file adStack.c.

References checkPopToReadOnly(), popNArray(), topRepetitionPoint, and blockpointers::x.

Referenced by popcharacterarray_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ popcharacterarray_()

void popcharacterarray_ ( char *  ii,
int *  ll 
)

Definition at line 1199 of file adStack.c.

References blockette::ii, and popCharacterArray().

Here is the call graph for this function:

◆ popComplex16()

void popComplex16 ( double complex *  val)

Definition at line 762 of file adStack.c.

Referenced by popcomplex16_().

Here is the caller graph for this function:

◆ popcomplex16_()

void popcomplex16_ ( cdcmplx val)

Definition at line 1279 of file adStack.c.

References popComplex16().

Here is the call graph for this function:

◆ popComplex16Array()

void popComplex16Array ( double complex *  x,
int  n 
)

Definition at line 526 of file adStack.c.

References checkPopToReadOnly(), popNArray(), topRepetitionPoint, and blockpointers::x.

Referenced by popcomplex16array_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ popcomplex16array_()

void popcomplex16array_ ( cdcmplx ii,
int *  ll 
)

Definition at line 1191 of file adStack.c.

References blockette::ii, and popComplex16Array().

Here is the call graph for this function:

◆ popComplex8()

void popComplex8 ( ccmplx val)

Definition at line 734 of file adStack.c.

Referenced by popcomplex8_().

Here is the caller graph for this function:

◆ popcomplex8_()

void popcomplex8_ ( ccmplx val)

Definition at line 1271 of file adStack.c.

References popComplex8().

Here is the call graph for this function:

◆ popComplex8Array()

void popComplex8Array ( ccmplx x,
int  n 
)

Definition at line 510 of file adStack.c.

References checkPopToReadOnly(), popNArray(), topRepetitionPoint, and blockpointers::x.

Referenced by popcomplex8array_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ popcomplex8array_()

void popcomplex8array_ ( ccmplx ii,
int *  ll 
)

Definition at line 1183 of file adStack.c.

References blockette::ii, and popComplex8Array().

Here is the call graph for this function:

◆ popControl1b()

void popControl1b ( int *  cc)

Definition at line 882 of file adStack.c.

References checkPopToReadOnly(), popBit(), and topRepetitionPoint.

Referenced by popcontrol1b_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ popcontrol1b_()

void popcontrol1b_ ( int *  cc)

Definition at line 1303 of file adStack.c.

References popControl1b().

Here is the call graph for this function:

◆ popControl2b()

void popControl2b ( int *  cc)

Definition at line 894 of file adStack.c.

References checkPopToReadOnly(), popBit(), and topRepetitionPoint.

Referenced by popcontrol2b_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ popcontrol2b_()

void popcontrol2b_ ( int *  cc)

Definition at line 1311 of file adStack.c.

References popControl2b().

Here is the call graph for this function:

◆ popControl3b()

void popControl3b ( int *  cc)

Definition at line 909 of file adStack.c.

References checkPopToReadOnly(), popBit(), and topRepetitionPoint.

Referenced by popcontrol3b_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ popcontrol3b_()

void popcontrol3b_ ( int *  cc)

Definition at line 1319 of file adStack.c.

References popControl3b().

Here is the call graph for this function:

◆ popControl4b()

void popControl4b ( int *  cc)

Definition at line 928 of file adStack.c.

References checkPopToReadOnly(), popBit(), and topRepetitionPoint.

Referenced by popcontrol4b_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ popcontrol4b_()

void popcontrol4b_ ( int *  cc)

Definition at line 1327 of file adStack.c.

References popControl4b().

Here is the call graph for this function:

◆ popControl5b()

void popControl5b ( int *  cc)

Definition at line 951 of file adStack.c.

References checkPopToReadOnly(), popBit(), and topRepetitionPoint.

Referenced by popcontrol5b_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ popcontrol5b_()

void popcontrol5b_ ( int *  cc)

Definition at line 1335 of file adStack.c.

References popControl5b().

Here is the call graph for this function:

◆ popControl6b()

void popControl6b ( int *  cc)

Definition at line 978 of file adStack.c.

References checkPopToReadOnly(), popBit(), and topRepetitionPoint.

Referenced by popcontrol6b_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ popcontrol6b_()

void popcontrol6b_ ( int *  cc)

Definition at line 1343 of file adStack.c.

References popControl6b().

Here is the call graph for this function:

◆ popControl7b()

void popControl7b ( int *  cc)

Definition at line 1009 of file adStack.c.

References checkPopToReadOnly(), popBit(), and topRepetitionPoint.

Referenced by popcontrol7b_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ popcontrol7b_()

void popcontrol7b_ ( int *  cc)

Definition at line 1351 of file adStack.c.

References popControl7b().

Here is the call graph for this function:

◆ popControl8b()

void popControl8b ( int *  cc)

Definition at line 1044 of file adStack.c.

References checkPopToReadOnly(), popBit(), and topRepetitionPoint.

Referenced by popcontrol8b_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ popcontrol8b_()

void popcontrol8b_ ( int *  cc)

Definition at line 1359 of file adStack.c.

References popControl8b().

Here is the call graph for this function:

◆ popInteger4()

void popInteger4 ( int *  val)

Definition at line 678 of file adStack.c.

Referenced by popinteger4_().

Here is the caller graph for this function:

◆ popinteger4_()

void popinteger4_ ( int *  val)

Definition at line 1255 of file adStack.c.

References popInteger4().

Here is the call graph for this function:

◆ popInteger4Array()

void popInteger4Array ( int *  x,
int  n 
)

Definition at line 430 of file adStack.c.

References checkPopToReadOnly(), popNArray(), topRepetitionPoint, and blockpointers::x.

Referenced by popinteger4array_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ popinteger4array_()

void popinteger4array_ ( int *  ii,
int *  ll 
)

Definition at line 1143 of file adStack.c.

References blockette::ii, and popInteger4Array().

Here is the call graph for this function:

◆ popInteger8()

void popInteger8 ( long *  val)

Definition at line 706 of file adStack.c.

Referenced by popinteger8_().

Here is the caller graph for this function:

◆ popinteger8_()

void popinteger8_ ( long *  val)

Definition at line 1263 of file adStack.c.

References popInteger8().

Here is the call graph for this function:

◆ popInteger8Array()

void popInteger8Array ( long *  x,
int  n 
)

Definition at line 446 of file adStack.c.

References checkPopToReadOnly(), popNArray(), topRepetitionPoint, and blockpointers::x.

Referenced by popinteger8array_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ popinteger8array_()

void popinteger8array_ ( long *  ii,
int *  ll 
)

Definition at line 1151 of file adStack.c.

References blockette::ii, and popInteger8Array().

Here is the call graph for this function:

◆ popNArray()

void popNArray ( char *  x,
int  nbChars 
)

Definition at line 405 of file adStack.c.

References blockpointers::x.

Referenced by popbooleanarray_(), popCharacterArray(), popComplex16Array(), popComplex8Array(), popInteger4Array(), popInteger8Array(), popReal16Array(), popReal4Array(), and popReal8Array().

Here is the caller graph for this function:

◆ popPointer4()

void popPointer4 ( void **  val)

Definition at line 790 of file adStack.c.

Referenced by poppointer4_().

Here is the caller graph for this function:

◆ poppointer4_()

void poppointer4_ ( void **  val)

Definition at line 1287 of file adStack.c.

References popPointer4().

Here is the call graph for this function:

◆ popPointer8()

void popPointer8 ( void **  val)

Definition at line 818 of file adStack.c.

Referenced by poppointer8_().

Here is the caller graph for this function:

◆ poppointer8_()

void poppointer8_ ( void **  val)

Definition at line 1295 of file adStack.c.

References popPointer8().

Here is the call graph for this function:

◆ popReal16()

void popReal16 ( long double *  val)

Definition at line 650 of file adStack.c.

Referenced by popreal16_().

Here is the caller graph for this function:

◆ popreal16_()

void popreal16_ ( long double *  val)

Definition at line 1247 of file adStack.c.

References popReal16().

Here is the call graph for this function:

◆ popReal16Array()

void popReal16Array ( long double *  x,
int  n 
)

Definition at line 494 of file adStack.c.

References checkPopToReadOnly(), popNArray(), topRepetitionPoint, and blockpointers::x.

Referenced by popreal16array_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ popreal16array_()

void popreal16array_ ( long double *  ii,
int *  ll 
)

Definition at line 1175 of file adStack.c.

References blockette::ii, and popReal16Array().

Here is the call graph for this function:

◆ popReal4()

void popReal4 ( float *  val)

Definition at line 594 of file adStack.c.

Referenced by popreal4_().

Here is the caller graph for this function:

◆ popreal4_()

void popreal4_ ( float *  val)

Definition at line 1231 of file adStack.c.

References popReal4().

Here is the call graph for this function:

◆ popReal4Array()

void popReal4Array ( float *  x,
int  n 
)

Definition at line 462 of file adStack.c.

References checkPopToReadOnly(), popNArray(), topRepetitionPoint, and blockpointers::x.

Referenced by popreal4array_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ popreal4array_()

void popreal4array_ ( float *  ii,
int *  ll 
)

Definition at line 1159 of file adStack.c.

References blockette::ii, and popReal4Array().

Here is the call graph for this function:

◆ popReal8()

void popReal8 ( double *  val)

Definition at line 622 of file adStack.c.

Referenced by popreal8_().

Here is the caller graph for this function:

◆ popreal8_()

void popreal8_ ( double *  val)

Definition at line 1239 of file adStack.c.

References popReal8().

Here is the call graph for this function:

◆ popReal8Array()

void popReal8Array ( double *  x,
int  n 
)

Definition at line 478 of file adStack.c.

References checkPopToReadOnly(), popNArray(), topRepetitionPoint, and blockpointers::x.

Referenced by popreal8array_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ popreal8array_()

void popreal8array_ ( double *  ii,
int *  ll 
)

Definition at line 1167 of file adStack.c.

References blockette::ii, and popReal8Array().

Here is the call graph for this function:

◆ pushBit()

void pushBit ( int  x)

Definition at line 834 of file adStack.c.

Referenced by pushBoolean(), pushControl1b(), pushControl2b(), pushControl3b(), pushControl4b(), pushControl5b(), pushControl6b(), pushControl7b(), and pushControl8b().

Here is the caller graph for this function:

◆ pushBlock()

char * pushBlock ( )

add a data block to the double-linked list

Definition at line 338 of file adStack.c.

◆ pushBoolean()

void pushBoolean ( int  x)

Definition at line 864 of file adStack.c.

References checkPushInReadOnly(), pushBit(), topRepetitionPoint, and blockpointers::x.

Referenced by pushboolean_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushboolean_()

void pushboolean_ ( int *  x)

Definition at line 1379 of file adStack.c.

References pushBoolean(), and blockpointers::x.

Here is the call graph for this function:

◆ pushbooleanarray_()

void pushbooleanarray_ ( char *  x,
int *  n 
)

Definition at line 1203 of file adStack.c.

References checkPushInReadOnly(), pushNArray(), topRepetitionPoint, and blockpointers::x.

Here is the call graph for this function:

◆ pushCharacter()

void pushCharacter ( char  val)

Definition at line 552 of file adStack.c.

References checkPushInReadOnly(), and topRepetitionPoint.

Referenced by pushcharacter_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushcharacter_()

void pushcharacter_ ( char *  val)

Definition at line 1219 of file adStack.c.

References pushCharacter().

Here is the call graph for this function:

◆ pushCharacterArray()

void pushCharacterArray ( char *  x,
int  n 
)

Definition at line 534 of file adStack.c.

References checkPushInReadOnly(), pushNArray(), topRepetitionPoint, and blockpointers::x.

Referenced by pushcharacterarray_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushcharacterarray_()

void pushcharacterarray_ ( char *  ii,
int *  ll 
)

Definition at line 1195 of file adStack.c.

References blockette::ii, and pushCharacterArray().

Here is the call graph for this function:

◆ pushComplex16()

void pushComplex16 ( double complex  val)

Definition at line 748 of file adStack.c.

References checkPushInReadOnly(), and topRepetitionPoint.

Referenced by pushcomplex16_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushcomplex16_()

void pushcomplex16_ ( cdcmplx val)

Definition at line 1275 of file adStack.c.

References pushComplex16().

Here is the call graph for this function:

◆ pushComplex16Array()

void pushComplex16Array ( double complex *  x,
int  n 
)

Definition at line 518 of file adStack.c.

References checkPushInReadOnly(), pushNArray(), topRepetitionPoint, and blockpointers::x.

Referenced by pushcomplex16array_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushcomplex16array_()

void pushcomplex16array_ ( cdcmplx ii,
int *  ll 
)

Definition at line 1187 of file adStack.c.

References blockette::ii, and pushComplex16Array().

Here is the call graph for this function:

◆ pushComplex8()

void pushComplex8 ( ccmplx  val)

Definition at line 720 of file adStack.c.

References checkPushInReadOnly(), and topRepetitionPoint.

Referenced by pushcomplex8_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushcomplex8_()

void pushcomplex8_ ( ccmplx val)

Definition at line 1267 of file adStack.c.

References pushComplex8().

Here is the call graph for this function:

◆ pushComplex8Array()

void pushComplex8Array ( ccmplx x,
int  n 
)

Definition at line 502 of file adStack.c.

References checkPushInReadOnly(), pushNArray(), topRepetitionPoint, and blockpointers::x.

Referenced by pushcomplex8array_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushcomplex8array_()

void pushcomplex8array_ ( ccmplx ii,
int *  ll 
)

Definition at line 1179 of file adStack.c.

References blockette::ii, and pushComplex8Array().

Here is the call graph for this function:

◆ pushControl1b()

void pushControl1b ( int  cc)

Definition at line 877 of file adStack.c.

References checkPushInReadOnly(), pushBit(), and topRepetitionPoint.

Referenced by pushcontrol1b_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushcontrol1b_()

void pushcontrol1b_ ( int *  cc)

Definition at line 1299 of file adStack.c.

References pushControl1b().

Here is the call graph for this function:

◆ pushControl2b()

void pushControl2b ( int  cc)

Definition at line 887 of file adStack.c.

References checkPushInReadOnly(), pushBit(), and topRepetitionPoint.

Referenced by pushcontrol2b_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushcontrol2b_()

void pushcontrol2b_ ( int *  cc)

Definition at line 1307 of file adStack.c.

References pushControl2b().

Here is the call graph for this function:

◆ pushControl3b()

void pushControl3b ( int  cc)

Definition at line 900 of file adStack.c.

References checkPushInReadOnly(), pushBit(), and topRepetitionPoint.

Referenced by pushcontrol3b_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushcontrol3b_()

void pushcontrol3b_ ( int *  cc)

Definition at line 1315 of file adStack.c.

References pushControl3b().

Here is the call graph for this function:

◆ pushControl4b()

void pushControl4b ( int  cc)

Definition at line 917 of file adStack.c.

References checkPushInReadOnly(), pushBit(), and topRepetitionPoint.

Referenced by pushcontrol4b_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushcontrol4b_()

void pushcontrol4b_ ( int *  cc)

Definition at line 1323 of file adStack.c.

References pushControl4b().

Here is the call graph for this function:

◆ pushControl5b()

void pushControl5b ( int  cc)

Definition at line 938 of file adStack.c.

References checkPushInReadOnly(), pushBit(), and topRepetitionPoint.

Referenced by pushcontrol5b_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushcontrol5b_()

void pushcontrol5b_ ( int *  cc)

Definition at line 1331 of file adStack.c.

References pushControl5b().

Here is the call graph for this function:

◆ pushControl6b()

void pushControl6b ( int  cc)

Definition at line 963 of file adStack.c.

References checkPushInReadOnly(), pushBit(), and topRepetitionPoint.

Referenced by pushcontrol6b_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushcontrol6b_()

void pushcontrol6b_ ( int *  cc)

Definition at line 1339 of file adStack.c.

References pushControl6b().

Here is the call graph for this function:

◆ pushControl7b()

void pushControl7b ( int  cc)

Definition at line 992 of file adStack.c.

References checkPushInReadOnly(), pushBit(), and topRepetitionPoint.

Referenced by pushcontrol7b_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushcontrol7b_()

void pushcontrol7b_ ( int *  cc)

Definition at line 1347 of file adStack.c.

References pushControl7b().

Here is the call graph for this function:

◆ pushControl8b()

void pushControl8b ( int  cc)

Definition at line 1025 of file adStack.c.

References checkPushInReadOnly(), pushBit(), and topRepetitionPoint.

Referenced by pushcontrol8b_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushcontrol8b_()

void pushcontrol8b_ ( int *  cc)

Definition at line 1355 of file adStack.c.

References pushControl8b().

Here is the call graph for this function:

◆ pushInteger4()

void pushInteger4 ( int  val)

Definition at line 664 of file adStack.c.

References checkPushInReadOnly(), and topRepetitionPoint.

Referenced by pushinteger4_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushinteger4_()

void pushinteger4_ ( int *  val)

Definition at line 1251 of file adStack.c.

References pushInteger4().

Here is the call graph for this function:

◆ pushInteger4Array()

void pushInteger4Array ( int *  x,
int  n 
)

Definition at line 422 of file adStack.c.

References checkPushInReadOnly(), pushNArray(), topRepetitionPoint, and blockpointers::x.

Referenced by pushinteger4array_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushinteger4array_()

void pushinteger4array_ ( int *  ii,
int *  ll 
)

Definition at line 1139 of file adStack.c.

References blockette::ii, and pushInteger4Array().

Here is the call graph for this function:

◆ pushInteger8()

void pushInteger8 ( long  val)

Definition at line 692 of file adStack.c.

References checkPushInReadOnly(), and topRepetitionPoint.

Referenced by pushinteger8_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushinteger8_()

void pushinteger8_ ( long *  val)

Definition at line 1259 of file adStack.c.

References pushInteger8().

Here is the call graph for this function:

◆ pushInteger8Array()

void pushInteger8Array ( long *  x,
int  n 
)

Definition at line 438 of file adStack.c.

References checkPushInReadOnly(), pushNArray(), topRepetitionPoint, and blockpointers::x.

Referenced by pushinteger8array_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushinteger8array_()

void pushinteger8array_ ( long *  ii,
int *  ll 
)

Definition at line 1147 of file adStack.c.

References blockette::ii, and pushInteger8Array().

Here is the call graph for this function:

◆ pushNArray()

void pushNArray ( char *  x,
int  nbChars 
)

◆ pushPointer4()

void pushPointer4 ( void *  val)

Definition at line 776 of file adStack.c.

References checkPushInReadOnly(), and topRepetitionPoint.

Referenced by pushpointer4_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushpointer4_()

void pushpointer4_ ( void **  val)

Definition at line 1283 of file adStack.c.

References pushPointer4().

Here is the call graph for this function:

◆ pushPointer8()

void pushPointer8 ( void *  val)

Definition at line 804 of file adStack.c.

References checkPushInReadOnly(), and topRepetitionPoint.

Referenced by pushpointer8_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushpointer8_()

void pushpointer8_ ( void **  val)

Definition at line 1291 of file adStack.c.

References pushPointer8().

Here is the call graph for this function:

◆ pushReal16()

void pushReal16 ( long double *  val)

Definition at line 636 of file adStack.c.

References checkPushInReadOnly(), and topRepetitionPoint.

Referenced by pushreal16_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushreal16_()

void pushreal16_ ( long double *  val)

Definition at line 1243 of file adStack.c.

References pushReal16().

Here is the call graph for this function:

◆ pushReal16Array()

void pushReal16Array ( long double *  x,
int  n 
)

Definition at line 486 of file adStack.c.

References checkPushInReadOnly(), pushNArray(), topRepetitionPoint, and blockpointers::x.

Referenced by pushreal16array_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushreal16array_()

void pushreal16array_ ( long double *  ii,
int *  ll 
)

Definition at line 1171 of file adStack.c.

References blockette::ii, and pushReal16Array().

Here is the call graph for this function:

◆ pushReal4()

void pushReal4 ( float  val)

Definition at line 580 of file adStack.c.

References checkPushInReadOnly(), and topRepetitionPoint.

Referenced by pushreal4_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushreal4_()

void pushreal4_ ( float *  val)

Definition at line 1227 of file adStack.c.

References pushReal4().

Here is the call graph for this function:

◆ pushReal4Array()

void pushReal4Array ( float *  x,
int  n 
)

Definition at line 454 of file adStack.c.

References checkPushInReadOnly(), pushNArray(), topRepetitionPoint, and blockpointers::x.

Referenced by pushreal4array_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushreal4array_()

void pushreal4array_ ( float *  ii,
int *  ll 
)

Definition at line 1155 of file adStack.c.

References blockette::ii, and pushReal4Array().

Here is the call graph for this function:

◆ pushReal8()

void pushReal8 ( double  val)

Definition at line 608 of file adStack.c.

References checkPushInReadOnly(), and topRepetitionPoint.

Referenced by pushreal8_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushreal8_()

void pushreal8_ ( double *  val)

Definition at line 1235 of file adStack.c.

References pushReal8().

Here is the call graph for this function:

◆ pushReal8Array()

void pushReal8Array ( double *  x,
int  n 
)

Definition at line 470 of file adStack.c.

References checkPushInReadOnly(), pushNArray(), topRepetitionPoint, and blockpointers::x.

Referenced by pushreal8array_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pushreal8array_()

void pushreal8array_ ( double *  ii,
int *  ll 
)

Definition at line 1163 of file adStack.c.

References blockette::ii, and pushReal8Array().

Here is the call graph for this function:

◆ setBackPopToCurrentLocation()

void setBackPopToCurrentLocation ( RepetitionLevel repetitionLevel)

Definition at line 91 of file adStack.c.

References _RepetitionLevel::backPopBlock, and _RepetitionLevel::hasBackPop.

Referenced by checkPushInReadOnly().

Here is the caller graph for this function:

◆ setCurrentLocationToBackPop()

void setCurrentLocationToBackPop ( RepetitionLevel repetitionLevel)

Definition at line 97 of file adStack.c.

◆ setCurrentLocationToFreePush()

void setCurrentLocationToFreePush ( RepetitionLevel repetitionLevel)

Definition at line 119 of file adStack.c.

Referenced by checkPushInReadOnly().

Here is the caller graph for this function:

◆ setCurrentLocationToResumePoint()

void setCurrentLocationToResumePoint ( RepetitionLevel repetitionLevel)

Definition at line 108 of file adStack.c.

◆ setFreePushToCurrentLocation()

void setFreePushToCurrentLocation ( RepetitionLevel repetitionLevel)

Definition at line 114 of file adStack.c.

References _RepetitionLevel::freePushBlock.

◆ setResumePointToCurrentLocation()

void setResumePointToCurrentLocation ( RepetitionLevel repetitionLevel)

Definition at line 103 of file adStack.c.

References _RepetitionLevel::resumePointBlock.

◆ showLocation()

void showLocation ( DoubleChainedBlock locBlock,
int  loc 
)

Definition at line 149 of file adStack.c.

References _DoubleChainedBlock::rank.

Referenced by adStack_showStackSize(), and showRepetitionLevels().

Here is the caller graph for this function:

◆ showRepetitionLevels()

void showRepetitionLevels ( )

◆ stackIsThreadSafe()

int stackIsThreadSafe ( )

Definition at line 1117 of file adStack.c.

Referenced by stackisthreadsafe_().

Here is the caller graph for this function:

◆ stackisthreadsafe_()

int stackisthreadsafe_ ( )

Definition at line 1387 of file adStack.c.

References stackIsThreadSafe().

Here is the call graph for this function:

Variable Documentation

◆ topRepetitionPoint

RepetitionLevel* topRepetitionPoint = NULL