44 #if GEOMETRY == CYLINDRICAL
56 #if GEOMETRY == SPHERICAL
130 void CT_AverageTransverseMagFiled (
const Data *,
int,
Grid *);
137 void CT_AddResistiveEMF (
const Data *d,
Grid *grid);
void CT_StoreEMF(const State_1D *state, int beg, int end, Grid *grid)
void CT_GetStagSlopes(const Data_Arr b, EMF *emf, Grid *grid)
void FillMagneticField(const Data *d, int side, Grid *grid)
Assign the normal component of the staggered magnetic field in the ghost zone-faces.
EMF * CT_GetEMF(const Data *d, Grid *grid)
void CT_EMF_ArithmeticAverage(const EMF *Z1, const double w)
Compute arithmetic average of EMF at cell edges.
void CT_Update(const Data *d, Data_Arr Bs, double dt, Grid *grid)
void CT_EMF_HLL_Solver(const Data *d, const EMF *emf, Grid *grid)
Solve 2D Riemann problem for induction equation.
void EMF_USERDEF_BOUNDARY(EMF *emf, int side, int loc, Grid *grid)
double *** ezi
Ez available at x-faces (i+1/2);.
double *** exk
Ex available at z-faces (k+1/2);.
void CT_CheckDivB(double ***bf[], Grid *grid)
void CT_AverageNormalMagField(const Data *d, int side, Grid *grid)
Compute the normal component of the volume-average magnetic field from the staggered components in th...
void CT_EMF_CMUSCL_Average(const Data *d, const EMF *emf, Grid *grid)
–
double *** eyi
Ey available at x-faces (i+1/2);.
void CT_StoreVelSlopes(EMF *emf, const State_1D *state, int beg, int end)
void CT_EMF_IntegrateToCorner(const Data *d, const EMF *emf, Grid *grid)
double *** eyk
Ey available at z-faces (k+1/2);.
double *** ezj
Ez available at y-faces (j+1/2);.
double *** exj
Ex available at y-faces (j+1/2);.
struct ElectroMotiveForce EMF
void EMF_BOUNDARY(EMF *emf, Grid *grid)
void CT_AverageMagneticField(double ****bf, double ****UU, Grid *grid)