The FARGO_THORIN code developer's guide
|
Resample the hydrodynamical fields at a restart with a different resolution. More...
#include "fargo.h"
Go to the source code of this file.
Functions | |
void | ReadPrevDim () |
void | CheckRebin (int nb) |
Variables | |
static real | OldRadii [MAX1D] |
static real | OldRmed [MAX1D] |
static real | New_r [MAX1D] |
static int | OldNRAD |
static int | OldNSEC |
Resample the hydrodynamical fields at a restart with a different resolution.
Note that at the restart, even if NRAD and NSEC coincide with previous values, the data is resampled if the radii do not coincide (for instance, if we switch from ARITHMETIC to LOGARITHMIC spacing).
Definition in file rebin.c.
void CheckRebin | ( | int | nb | ) |
Definition at line 43 of file rebin.c.
References CPU_Master, fopenp(), GLOBALNRAD, GlobalRmed, mastererr(), New_r, NO, NRAD, NSEC, OldNRAD, OldNSEC, OldRadii, OldRmed, OUTPUTDIR, prs_exit(), Radii, and YES.
void ReadPrevDim | ( | ) |
Definition at line 16 of file rebin.c.
References CPU_Master, OldNRAD, OldNSEC, OldRadii, OldRmed, and OUTPUTDIR.
Referenced by Initialization().
Definition at line 13 of file rebin.c.
Referenced by CheckRebin().
|
static |
Definition at line 14 of file rebin.c.
Referenced by CheckRebin(), and ReadPrevDim().
|
static |
Definition at line 14 of file rebin.c.
Referenced by CheckRebin(), and ReadPrevDim().
Definition at line 13 of file rebin.c.
Referenced by CheckRebin(), and ReadPrevDim().
Definition at line 13 of file rebin.c.
Referenced by CheckRebin(), and ReadPrevDim().