PLUTO  4.4-patch2
Data Fields
intList Struct Reference

#include <structs.h>

Data Fields

int nvar
 
int indx [2046]
 
int i
 

Detailed Description

The List defines a collection of integer values typically used as argument to the FOR_EACH() macro. Variables are stored sequentially in such a way that structure elements can be conveniently initialized upon declaration:

intList list = {4, MX1, MX2, MX3, ENG};

list will have 4 elements so that, using the FOR_EACH macro a loop will be done on MX1, MX2, MX3, ENG.

Field Documentation

◆ i

int i

Internal counter.

◆ indx

int indx[2046]

Array of integers containg variables indices.

◆ nvar

int nvar

Number of variables.


The documentation for this struct was generated from the following file: