METHOD
Args Struct Reference

#include <srmhd.h>

Public Attributes

double D
 
double g
 
double Bsq
 
double Ssq
 
double BS
 
double tau
 
int i
 

Detailed Description

Additional arguments for the SRMHD residual function

The conservative to primitive transformation for the SRMHD class requires an N=2 dimensional nonlinear rootfind and thus requires the multi-dimensional Newton- Secant solver of the Cminpack library, i.e. the function hybrd1. This function can take additional arguments in the form of a void pointer to some data object, and thus for the data required in the cons2prims solver, the additional data is located in this Args data structure.

Definition at line 269 of file srmhd.h.

Member Data Documentation

◆ BS

double Args::BS

Scalar product of magnetic field and momentum vector for a single cell.

Definition at line 272 of file srmhd.h.

◆ Bsq

double Args::Bsq

Squared magnitude of magnetic field for a single cell.

Definition at line 272 of file srmhd.h.

◆ D

double Args::D

Relativistic energy for a single cell.

Definition at line 272 of file srmhd.h.

◆ g

double Args::g

Adiabatic index, gamma.

Definition at line 272 of file srmhd.h.

◆ i

int Args::i

Definition at line 278 of file srmhd.h.

◆ Ssq

double Args::Ssq

Square magnitude of momentum for a single cell.

Definition at line 272 of file srmhd.h.

◆ tau

double Args::tau

Kinetic energy for a single cell.

Definition at line 272 of file srmhd.h.


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