27 for (i = 0; i <
NRAD; i++) {
41 field = Surfdens->Field;
42 for (i = 0; i < nr; i++) {
44 for (j = 0; j < ns; j++) {
52 for (i = 1; i < nr; i++) {
63 real fac, power, Einit;
65 mastererr (
"The internal energy cannot be initialized with the adiabatic index equal to unity. Terminating now...\n");
90 field = Energy->Field;
91 for (i = 0; i < nr; i++) {
93 for (j = 0; j < ns; j++) {
140 field = Vtheta->Field;
141 for (i = 0; i < nr; i++) {
144 for (j = 0; j < ns; j++) {
146 moy += field[l] + vtcorr;
double real
Definition of the type 'real' used throughout the code.
real InitCoolingTime(real r)
A structure used to store any scalar fied on the computational domain.
int Nrad
Radial size of the grid, in number of zones.
real CoolingTimeMed[MAX1D]
real Energy(real r)
Initialises the energy array.
void FillVtheta(PolarGrid *Vtheta)
void mastererr(const char *template,...)
Contains all the include directives requested by the code.
void RefillEnergy(PolarGrid *Energy)
void RefillSigma(PolarGrid *Surfdens)