ASCOT5
Loading...
Searching...
No Matches
Data Fields
B_field_data Struct Reference

Magnetic field simulation data. More...

#include <B_field.h>

Data Fields

B_field_type type
 
B_GS_data BGS
 
B_2DS_data B2DS
 
B_3DS_data B3DS
 
B_STS_data BSTS
 
B_TC_data BTC
 

Detailed Description

Magnetic field simulation data.

This struct holds data necessary for simulation. The struct is initialized from the B_field_offload_data in B_field_init().

The intended usage is that only single B_field_data is used at the time, and the type of the data is declared with the "type" field.

Definition at line 63 of file B_field.h.

Field Documentation

◆ type

B_field_type B_field_data::type

Magnetic field type wrapped by this struct

Definition at line 64 of file B_field.h.

◆ BGS

B_GS_data B_field_data::BGS

GS field or NULL if not active

Definition at line 65 of file B_field.h.

◆ B2DS

B_2DS_data B_field_data::B2DS

2DS field or NULL if not active

Definition at line 66 of file B_field.h.

◆ B3DS

B_3DS_data B_field_data::B3DS

3DS field or NULL if not active

Definition at line 67 of file B_field.h.

◆ BSTS

B_STS_data B_field_data::BSTS

STS field or NULL if not active

Definition at line 68 of file B_field.h.

◆ BTC

B_TC_data B_field_data::BTC

TC field or NULL if not active

Definition at line 69 of file B_field.h.


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