PLUTO  4.4-patch2
Enumerations
mod_defs.h File Reference

Set labels, indexes and prototypes for the MHD module. More...

Go to the source code of this file.

Macros

Vector Potential Labels

These may only be used in the STARTUP / INIT functions. They're convenient in obtaining a discretization that preserve the divergence-free condition (for staggered field) or if you simply wish to initialize the magnetic field from the vector potential.

#define AX1   (NVAR + 1)
 
#define AX2   (NVAR + 2)
 
#define AX3   (NVAR + 3)
 

Enumerations

enum  KWAVES
 

Detailed Description

Contains basic macro definitions, structure definitions and global variable declarations used by the MHD module.

Author
A. Mignone (migno.nosp@m.ne@t.nosp@m.o.inf.nosp@m.n.it)
Date
Dec 02, 2020

Enumeration Type Documentation

◆ KWAVES

enum KWAVES

Label the different waves in increasing order following the number of vector components.

IMPORTANT: the KPSI_GLMM & KPSI_GLMP modes are present only in the MHD-GLM formulation. We keep them at the END of the enumeration so we can skip them in unnecessary loops. Please do NOT change them !