ADflow  v1.0
ADflow is a finite volume RANS solver tailored for gradient-based aerodynamic design optimization.
Functions
adStack.h File Reference
#include "complex.h"
Include dependency graph for adStack.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void adStack_startRepeat ()
 
void adStack_resetRepeat ()
 
void adStack_endRepeat ()
 
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 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 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 pushBoolean (int x)
 
void popBoolean (int *x)
 
void pushBit (int x)
 
int popBit ()
 
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 ()
 

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_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_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_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_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_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_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:

◆ 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:

◆ 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:

◆ popCharacter()

void popCharacter ( char *  val)

Definition at line 566 of file adStack.c.

Referenced by popcharacter_().

Here is the caller 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ popInteger4()

void popInteger4 ( int *  val)

Definition at line 678 of file adStack.c.

Referenced by popinteger4_().

Here is the caller 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:

◆ popInteger8()

void popInteger8 ( long *  val)

Definition at line 706 of file adStack.c.

Referenced by popinteger8_().

Here is the caller 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:

◆ popPointer4()

void popPointer4 ( void **  val)

Definition at line 790 of file adStack.c.

Referenced by poppointer4_().

Here is the caller 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:

◆ 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:

◆ 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:

◆ popReal4()

void popReal4 ( float *  val)

Definition at line 594 of file adStack.c.

Referenced by popreal4_().

Here is the caller 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:

◆ popReal8()

void popReal8 ( double *  val)

Definition at line 622 of file adStack.c.

Referenced by popreal8_().

Here is the caller 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ 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:

◆ stackIsThreadSafe()

int stackIsThreadSafe ( )

Definition at line 1117 of file adStack.c.

Referenced by stackisthreadsafe_().

Here is the caller graph for this function: