Procedures

ProcedureLocationProcedure TypeDescription
absbequilibrium_storage_mFunction

Computes absolute value of magnetic field from stured quantities

add_fields_to_averaged_internal_fieldsiol_source_mInterface
advancemultistep_mInterface
advancerunge_kutta_mInterface
alloc_state_templatestate_template_mSubroutine

Allocates memory for state fields

allocate_diagsdiagnostics_group_mSubroutine

Initialize diagnostic

allocate_managed_memory_doubleallocate_data_cudaInterface
allocate_managed_memory_intallocate_data_cudaInterface
allocate_memory_doubleallocate_data_cudaSubroutine
allocate_memory_intallocate_data_cudaSubroutine
apar_solveohm_electromagnetic_braginskii_mSubroutine

Solves for parallel electromagnetic potential if co_inert presents, \f[ \beta A_\parallel -\frac{mu}{n}\nabla_\perp^2A_\parallel= \psi_\parallel \f] otherwise, \f[ -\nabla_\perp^2A_\parallel= \psi_\parallel \f]

apply_boundariestimestep_template_mSubroutine

Applies boundaries

apply_dissipation_inplaneinplane_operators_mInterface
apply_immersed_sourcesimmersed_template_mSubroutine

Applies immersed sources, related with parallel (Sheath) boundary conditions

apply_mms_boundariestimestep_template_mInterface
apply_mms_sourcestimestep_template_mInterface
apply_pardifftimestep_template_mInterface
apply_partransptimestep_template_mInterface
apply_perptransptimestep_template_mInterface
apply_taylor_parbndstaylor_template_mSubroutine

Applies parallel (Sheath) boundary conditions with Taylor's method

arakawainplane_operators_mInterface
arakawa_locinplane_operators_mInterface
buffer_write_netcdfcreate_buffer_mSubroutine

Writes cf_buffer to netcdf file

build_adjacencypolygon_in_mesh_mInterface
build_braginskii_initial_stateinit_braginskii_mSubroutine

Builds initial state

build_cuda_structparallel_map_mInterface
build_derived_operatorsparallel_map_mInterface
build_initial_stateinit_diffusion_mSubroutine

Builds initial state

build_mask_datamask_data_mSubroutine

Builds mask arrays

build_neutrals_initial_stateinit_neutrals_mSubroutine

Builds initial state

build_parallel_mapparallel_map_mInterface
build_pen_indspenalisation_mInterface
build_penalisationpenalisation_mInterface
build_polarspolars_mInterface
build_rankingpolygon_in_mesh_mInterface
build_segmentationpolygon_in_mesh_mInterface
build_target_markersparallel_target_flux_mInterface
build_via_in_vesselpenalisation_mInterface
build_via_rhopenalisation_mInterface
build_via_stable_tracepenalisation_mInterface
build_via_subtracepenalisation_mInterface
build_via_tracepenalisation_mInterface
build_vtk_meshstatic_data_mInterface
build_wip3d_penalisationpenalisation_mInterface
build_zhdanov_initial_stateinit_zhdanov_mSubroutine

Builds initial state

checksum_braginskiichecksum_braginskii_mSubroutine

Computes and writes checksum of a plasma state The checksum does not have any physical meaning, but is used e.g in CI/CD to ensure code integrity

compute_diagnostics_packetdiagnostics_packet_mSubroutine

Compute diagnostics Only work for tratio=1

compute_diffusive_fluxperp_bnd_flux_mSubroutine

Computes the diffusive flux through a perpendicular boundary polygon, i.e. \int_S v \nabla u dS, where nabla is gradient within plane Sign convention is that flux out of inner domain is positive

compute_drift_fluxperp_bnd_flux_mSubroutine

Computes fluxes due to drift through a toroidally extended polygon \int_S v * (B/B^2 \times \nabla u) dS The integrand can be expressed via a derivative along the polygon \int v * 1/Btor du/dl J dl dphi where l measures the length along the polygon $omp parallel default(none) & $omp private(iseg, ks, ks_glob, l, lfwd, x, y, xfwd, yfwd, & $omp jac_av, btor_av, v_av) & $omp shared(equi, equi_storage, mesh, dphi, polygon, phi, nexclude_last, & $omp u, v, drift_flux) $omp do $omp end do $omp end parallel

compute_electron_densitycompute_electron_density_mSubroutine

Computes electron density via reduction of ion charge density

compute_jparohm_electromagnetic_braginskii_mSubroutine

Computes parallel current from parallel electromagnetic potential \f[ j_\parallel = -\nabla_\perp^2 A_\parallel \f]

compute_recycling_sourcerecycling_mSubroutine

Compute source contribution from recycling

compute_rhs_explicittimestep_template_mSubroutine

Computes explicit changerate at time tau

compute_target_fluxparallel_target_flux_mInterface
compute_target_flux_singleparallel_target_flux_mInterface
compute_vorticitypolarisation_braginskii_mSubroutine

Computes generalised vorticity \f[ \nabla\cdot\left[co\nabla_\perp\left(swpot\nabla_\perp\phi+swdia\tau\frac{\nabla_\perp p_i}{n}\right)\right] \f]

convert_descriptor_char_intdescriptors_braginskii_mSubroutine

Extends PARALLAX subroutine of the same name converts character, e.g. as specified in parameter files, into actual (integer) descriptor Dirichlet boundary condition zeroth order Dirichlet boundary condition first order Neumann boundary condition first order nothing applied for boundary conditions

convert_descriptor_char_intdescriptors_neutrals_mSubroutine

Extends PARALLAX subroutine of the same name converts character, e.g. as specified in parameter files, into actual (integer) descriptor Dirichlet boundary condition zeroth order Neumann boundary condition first order Nothing applied for boundary conditions

convert_descriptor_int_chardescriptors_braginskii_mSubroutine

Converts integer descriptor into character descriptor

convert_logical_integertest_type_conversion_mSubroutine

Tests logical <-> integer conversion

create_buffercreate_buffer_mSubroutine

Creates buffer function

create_halosvariable_mInterface
create_radrate_tablecoronal_impurities_mSubroutine

Create rate coefficient object from data file

create_rate_coeffrate_coeff_neutrals_mSubroutine

Create rate coefficient object with fit coefficients taken from data file

curvature_btor_basedinplane_operators_mInterface
curvature_ddy_basedinplane_operators_mInterface
curvature_interfaceinplane_operators_mInterface
curvature_sqrd_btor_basedinplane_operators_mInterface
curvature_sqrd_ddy_basedinplane_operators_mInterface
cxx_timesteptimestep_template_mInterface
ddxinplane_operators_mInterface
ddyinplane_operators_mInterface
destructorpolars_mInterface
destructorperp_bnd_flux_mInterface
destructorparallel_target_flux_mInterface
destructorpolygon_in_mesh_mInterface
destructorpenalisation_mInterface
destructorrunge_kutta_mInterface
destructorinplane_operators_mInterface
destructorequilibrium_storage_mSubroutine

Destructor

destructorsources_external_mSubroutine

Destructor

destructorgyroviscosity_mSubroutine

Destructor

destructorboundaries_braginskii_mSubroutine

Frees memory associated with boundaries_braginskii

destructordiagnostics_group_mSubroutine
destructordiagnostics_packet_mSubroutine
destructorboundaries_neutrals_mSubroutine

Frees memory associated with boundaries_neutrals

destructorcomm_handler_mSubroutine
destructorsnapshot_mSubroutine

Destructor

destructordiagnostic_variable_mSubroutine

Frees memory associated with variable

destructorvariable_mInterface
destructor_cuda_map_tparallel_map_mInterface
destructor_ioliol_source_mSubroutine

Deallocates stuff related with iol source

destructor_karniadakismultistep_mInterface
destructor_mask_data_tmask_data_mSubroutine
destructor_parallel_map_tparallel_map_mInterface
destructor_storagemultistep_mInterface
diagnostics_helperstest_diagnostics_helpers_mSubroutine

Test of diagnostics helper functions

diagnostics_templatediagnostics_template_mSubroutine

Diagnostics for template model Yet just the L1, L2 global minimum and global maximum values of dynamical fields are computed

direction_orderpolygon_in_mesh_mInterface
display_build_staticstatic_data_mSubroutine

Writes control build parameters of static data parameters to screen

display_iol_sourceiol_source_mInterface
display_karniadakismultistep_mInterface
display_mms_params_templatemms_template_mSubroutine

Displays MMS parameters for template model

display_parallel_mapparallel_map_mInterface
display_params_template_featuresparams_template_mInterface
display_params_template_modelparams_template_mInterface
display_params_template_parbndparams_template_mInterface
display_params_template_pathsparams_template_mInterface
display_params_template_tstepparams_template_mInterface
display_penalisationpenalisation_mInterface
display_polarspolars_mInterface
display_polygon_in_meshpolygon_in_mesh_mSubroutine

Displays information on polygon_in_mesh

display_runge_kuttarunge_kutta_mInterface
display_snapshotsnapshot_mSubroutine

Displays information

display_source_constantratesources_external_mSubroutine

Displays constantrate source parameters

display_source_gaussiansources_external_mSubroutine

Display parameters related to the gas puff module

display_source_individualsources_external_mInterface
display_source_nonesources_external_mSubroutine

Displays source_none parameters

display_source_zonalsources_external_mSubroutine

Displays zonal source parameters

display_zhdanov_paramsparams_zhdanov_species_mSubroutine

Displays parameters for zhdanov model

display_zhdanov_paramsparams_zhdanov_general_mSubroutine

Displays parameters for zhdanov model

doubled_arakawainplane_operators_mInterface
doubled_arakawa_locinplane_operators_mInterface
drift_surface_integralpolar_operators_mSubroutine

Computes surface integral of flux in drift form, i.e. \int dS v/B^2 B\times\nabla u via integration along flux surface, i.e. = \int v/B du/d\theta J dphi d\theta

drivecheckpoint_monitor_mSubroutine

Check if time aligns with cycle and set according checkpoint flag

drive_diagnosticsdiagnostics_braginskii_mInterface
drive_gyroviscositygyroviscosity_mSubroutine

Performs auxiliary precomputations necessary to evaluate guroviscosity - Precomputes viscosities - Communicates uB^3/2 and qiparB^(3/2)

driver_ioliol_source_mInterface
equilibrium_storage_cerfonstest_equilibrium_storage_mSubroutine

Test of inplane operators in cerfons geometry

error_ananumcommons_misc_mSubroutine

Computes the norm and difference between two fields, useful for MMS-analysis

eta_neo_flowgyroviscosity_mFunction

Computes ion flow viscosity with "beyond Braginskii extensions" according to parameters

eval_curvaturegyroviscosity_mSubroutine

Evaluates curvature of ion stress function. This routine is present, because there is an issue if one simply evaluated the curvature of gstress obtained via ion_stress_function. Squared curvature operators appear that would imply chequerboarding. Therefore the evaluation of squared curvature operators has to be performed numerically careful and explicit.

eval_diff_coeffdiff_coeff_neutrals_mSubroutine

Evaluate the normalized pressure diffusion coefficient

eval_gstressgyroviscosity_mSubroutine

Computation of ion stress function G = G_flow + G_heat with "beyond Braginskii extensions" according to parameters

eval_pargrad_b32gyroviscosity_mSubroutine

Evaluates B^(3/2)par_grad(G/B^(3/2)) of ion stress function. Used for the parallel momentum equation

eval_radratecoronal_impurities_mFunction

Evaluate the normalized rate coefficient through interpolation

eval_rate_coeffrate_coeff_neutrals_mFunction

Evaluate the normalized rate coefficient from a double polynomial fit

eval_source_constantratesources_external_mSubroutine

Evaluates constantrate source

eval_source_gaussiansources_external_mSubroutine

Compute neutrals density source from contributions of gaussian centers

eval_source_zonalsources_external_mSubroutine

Evaluates zonal source

eval_sources_externalsources_external_mSubroutine

Evaluates external sources

eval_sources_neutralsneutrals_module_mSubroutine

Evaluate source terms to pass to Braginskii model

evaluate_apar_fluctmodel_apar_shift_mSubroutine

Evaluate the fluctuating part of parallel electromagnetic potential

execute_sortpolygon_in_mesh_mInterface
fill_storageequilibrium_storage_mSubroutine

Fills storage with values on mesh points

finalize_comm_halosvariable_mInterface
finalize_comm_planescommunication_planes_mSubroutine

Finalises communication

finalize_staticstatic_data_mSubroutine

Cleans up temporary data, that was used during initialization stage, and sets static_data_is_initialized to true

find_neighbor_indsmesh_index_helpers_mSubroutine

Scan points in 3x3 vicinity and return their index only

flat_stag_to_canoparallel_map_mInterface
flat_stag_to_cano_singleparallel_map_mInterface
flipiol_source_mInterface
flutter_divinplane_operators_mInterface
flutter_gradinplane_operators_mInterface
flux_surface_averagepolar_operators_mSubroutine

Computes zonal average of quantity

fortran_timesteptimestep_template_mFunction
func_hermite_auxpenalisation_mInterface
get_charfun_at_targetpenalisation_mFunction

Contourvalue of characteristic function at target plate

get_charfun_parwidthpenalisation_mFunction

Returns parallel decay length of characteristic penalisation function

get_charfun_radlimwidthpenalisation_mFunction

Radial radial decay length (only for limiter geometry)

get_charfun_valpenalisation_mFunction

Returns value of characteristic function

get_comm_cartcomm_handler_mFunction
get_comm_planescomm_handler_mFunction
get_comm_speciescomm_handler_mFunction
get_current_ordermultistep_mInterface
get_diffusive_flux_localperp_bnd_flux_mFunction

Computes local flux through polygon point (area associated with polygon point) diff_flux array has to be computed previously via compute_diffusive_flux

get_diffusive_flux_totalperp_bnd_flux_mFunction

Computes total flux through polygon segment from diff_flux array, which has to be computed previously via compute_diffusive_flux.

get_dirindfun_parwidthpenalisation_mFunction

Returns parallel decay length of direction indicator function

get_dirindfun_valpenalisation_mFunction

Returns value of direction indicator function

get_dphipenalisation_mFunction

Toroidal grid distance

get_dphiparallel_map_mFunction

Returns toroidal grid distance used for map

get_dphi_maxpenalisation_mFunction

Maximum angle to be traced for building penalisation

get_drift_flux_localperp_bnd_flux_mFunction

Computes local flux through polygon point (area associated with polygon point) drift_flux array has to be computed previously via compute_drift_flux

get_drift_flux_totalperp_bnd_flux_mFunction

Computes total flux through polygon segment from drift_flux array, which has to be computed previously via compute_drift_flux. $omp parallel default(none) private(is, ks, ks_glob) & $omp shared(polygon, iseg_start, iseg_end, nexclude_last, drift_flux, res) $omp do reduction(+ : res) $omp end do $omp end parallel

get_dtaumultistep_mInterface
get_dtau_bdfmultistep_mInterface
get_halovariable_mInterface
get_hermite_orderpenalisation_mFunction

Returns order of Hermite polynomial used as penalisation function

get_ind_on_meshpolygon_in_mesh_mFunction

Returns mesh index of point of segement

get_init_continueiol_source_mFunction

Getter routine

get_intorderparallel_map_mFunction

Returns interpolation order used for map

get_iplaneparallel_map_mFunction

Returns index of poloidal plane (0 to nplanes-1)

get_major_tallycheckpoint_monitor_mFunction

Return current tally for the major cycle

get_mat_entry_cartbasedhelpers_grillix_mFunction

Returns a specifig entry of csr matrix based on Cartesian indexing i.e. row lt corresponds to point (it, jt) and columnd lg to point (ig, jg)

get_minor_tally_bwdcheckpoint_monitor_mFunction

Return current bwd tally for the minor cycle

get_minor_tally_fwdcheckpoint_monitor_mFunction

Return current fwd tally for the minor cycle

get_ncartcomm_handler_mFunction
get_ncountmultistep_mInterface
get_ncountrunge_kutta_mInterface
get_ndimmultistep_mInterface
get_ndimrunge_kutta_mInterface
get_ndimdiagnostic_variable_mFunction

Returns dimension of variable

get_ndimvariable_mInterface
get_nfieldsmultistep_mInterface
get_np_totalpolygon_in_mesh_mFunction

Returns total number of polygon points

get_nplanesparallel_map_mFunction

Returns number of poloidal planes used for map

get_nplanescomm_handler_mFunction
get_npspolygon_in_mesh_mFunction

Returns number of points of segment

get_nsegspolygon_in_mesh_mFunction

Returns number of segements

get_nspeciescomm_handler_mFunction
get_nstoragemultistep_mInterface
get_ordermultistep_mInterface
get_orderrunge_kutta_mInterface
get_penfuns_typepenalisation_mFunction

Returns type of penalisation function

get_phi_canoparallel_map_mFunction

Returns phi coordinate of current plane

get_phi_stagparallel_map_mFunction

Returns phi coordinate of current staggered plane

get_planecomm_handler_mFunction
get_rankcomm_handler_mFunction
get_speciescomm_handler_mFunction
get_xorderparallel_map_mFunction

Returns order of subcell splitting used for map

gradient_3D_staggerednonaligned_operators_mSubroutine

Computes gradient (dudx, dudy, dudphi = dudz) at 3D staggered positions Gradient is computed according to symmetric formulation of Guenter's scheme Staggered point is at northeast-forward position w.r.t. its considered grid point on full grid Second and fourth order are implemented

grid_initiol_source_mInterface
grillix_bannerstartups_mSubroutine

Prints banner for grillix code

handle_errorerror_handling_grillix_mSubroutine

Logs an error to stderr and stops the program. If status_code is GRILLIX_SUCCESS, this subroutine will do nothing.

Read more…
handle_error_netcdferror_handling_grillix_mSubroutine

Wrapper of handle error for calls of NetCDF functions. Checks for NetCDF errors and prints a standardized error message.

heat_flux_braginskiiheat_flux_mSubroutine

Computes heat flux according to Braginskii model with free streaming limter

heat_flux_free_streamingheat_flux_mSubroutine

Computes heat flux according to free streaming model

heat_flux_landauheat_flux_mSubroutine

Contains a routine that calculates the heat flux according to the landau heat flux model
Ref.: J.G. Chen, X.Q. Xu, Y.A. Lei, Extension of Landau-fluid closure to weakly collisional plasma regime, Computer Physics Communications, Volume 236, 2019, Pages 128-134, ISSN 0010-4655, https://doi.org/10.1016/j.cpc.2018.10.024.

initcomm_handler_mSubroutine

Initialises MPI topology and communicators

init_boundaries_braginskiiboundaries_braginskii_mSubroutine

Sets boundary types and values according to parameters

init_boundaries_neutralsboundaries_neutrals_mSubroutine

Sets boundary types and values according to parameters

init_braginskii_halosinit_braginskii_mSubroutine

Allocates halo points of Braginskii fields

init_diagnostic_variablediagnostic_variable_mSubroutine

Writes variable to netcdf file

init_diagnosticsdiagnostics_braginskii_mInterface
init_diagnostics_groupdiagnostics_group_mSubroutine

Initialize diagnostic

init_gyroviscositygyroviscosity_mSubroutine

Initialise gyroviscosity

init_inplane_operatorsinplane_operators_mInterface
init_ioliol_source_mInterface
init_karniadakismultistep_mInterface
init_lineoutdiagnostics_lineout_mSubroutine

Initialize lineout diagnostic

init_mms_templatemms_template_mSubroutine

Initializes MMS parameters for template model

init_monitorcheckpoint_monitor_mSubroutine

Initialize checkpoint monitor

init_neutralsneutrals_module_mSubroutine

Setup data structures for neutrals timestepping

init_neutrals_halosinit_neutrals_mSubroutine

Allocates halo points of Neutrals fields

init_next_diagnosticdiagnostics_group_mSubroutine

Initialize single diagnostic and provide pointer to its vals field

init_perp_bnd_fluxperp_bnd_flux_mInterface
init_polygon_in_meshpolygon_in_mesh_mInterface
init_runge_kuttarunge_kutta_mInterface
init_snapshotsnapshot_mSubroutine

Initialises snapshots, creates dirpath

init_source_constantratesources_external_mSubroutine

Initialises constantrate source

init_source_gaussiansources_external_mSubroutine

Initialize gaussian source from input file

init_source_individualsources_external_mInterface
init_source_nonesources_external_mSubroutine

Initialises source=none

init_source_zonalsources_external_mSubroutine

Initialises zonal source

init_sources_externalsources_external_mSubroutine

Initialises (reads parameters) sources_external

init_state_profileinit_braginskii_mInterface
init_storagemultistep_mInterface
init_templateinit_template_mSubroutine

Creates an initial state depending on init_type

init_variablevariable_mInterface
init_zhdanov_state_profileinit_zhdanov_mInterface
initialise_apar_shiftmodel_apar_shift_mSubroutine

Initialise apar shift variable, snapshot, and timestepper

initialise_neutrals_timesteppersinit_neutrals_mSubroutine

Initialises the timesteppers. This automatically will use a lower-order method for the first few timesteps to fill the storage

initialise_timesteppersinit_zhdanov_mSubroutine

Initialises the timesteppers

initialise_timesteppersinit_braginskii_mSubroutine

Initialises the timesteppers. This automatically will use a lower-order method for the first few timesteps to fill the storage

initialise_timesteppers_with_mmsinit_braginskii_mSubroutine

Initialise the timesteppers, and fills their storage with the MMS solution and derivative at previous "timesteps" (which have t < 0)

inner_productdiagnostics_helpers_mFunction

Compute inner product of u*v over all volume elements Only accepts input arrays of lengths n_points or n_points_inner

integer_to_logicaltype_conversion_mFunction

Returns true if input = 1, otherwise 0

interpolate_lineoutdiagnostics_helpers_mSubroutine

Compute interpolation along a lineout within poloidal plane

is_fixed_stencilparallel_map_mFunction

Returns if fixed stencil is used for interpolation

is_gauss_quadratureparallel_map_mFunction

Returns if gauss-quadrature or midpoint rule is used for integration

is_periodicpolygon_in_mesh_mFunction

Returns tru if polygon is closed (periodic)

karniadakistest_timestepping_mSubroutine

Test of module karniadakis_m integrates - dy_1/dtau = y --> y_1(tau) = exp(tau) - dy_2/dtau = 2tauy --> y_2(tau) = exp(tau^2) until tau = 2 Analytic result of y_1(2) = exp(2) ~ 7.38905609893 Analytic result of y_2(2) = exp(4) ~ 54.5981500331

lift_cano_to_stagparallel_map_mInterface
lift_cano_to_stag_singleparallel_map_mInterface
log_bndboundaries_braginskii_mFunction

Sets bnd value to the logarithm of the prescribed value if the descrpitor is "DIRICHLET". Necessary for ne, te and ti

logical_to_integertype_conversion_mFunction

Returns 1 if input = true, otherwise 0

logne_penalisationpenalisation_braginskii_mSubroutine

Sets the logarithmic-density penalisation values.

logte_penalisationpenalisation_braginskii_mSubroutine

Sets the logarithmic electron temperature penalisation values.

logti_penalisationpenalisation_braginskii_mSubroutine

Sets the logarithmic ion temperature penalisation values.

map_cart_to_polarpolar_operators_mSubroutine

Maps quantity from Cartesian mesh to polar grid

map_polar_to_cartpolar_operators_mSubroutine

Maps quantity from polar grid to Cartesian mesh

mesh_index_helperstest_mesh_index_helpers_mSubroutine

Test of mesh index helper functions

mesh_sample_cerfonshelpers_mesh_sample_mSubroutine
mesh_sample_circularhelpers_mesh_sample_mSubroutine
mirrorset_polyperpbnd_pointsperp_bnd_flux_mSubroutine

Sets points of field u on boundary-polygon to the value of its connected inner points, according to connectivity matrix conn.

mms_diagnostics_braginskiimms_braginskii_mSubroutine

Prints information on numerical errors of numerical solutions

mms_diagnostics_diffusionmms_diffusion_mSubroutine

Prints information on numerical errors of numerical solution

mms_diagnostics_neutralsmms_neutrals_mSubroutine

Prints information on numerical errors of numerical solutions

mms_diagnostics_templatemms_template_mSubroutine

Prints information on numerical errors of numerical solution

mms_diagnostics_zhdanovmms_zhdanov_mSubroutine

Prints information on numerical errors of numerical solution

mms_sol_braginskii_aparmms_braginskii_mFunction

MMS solution for parallel electromagnetic potential

mms_sol_braginskii_circular_aparmms_braginskii_circular_mFunction

MMS solution for parallel electromagnetic potential

mms_sol_braginskii_circular_jparmms_braginskii_circular_mFunction

MMS solution for parallel current

mms_sol_braginskii_circular_nemms_braginskii_circular_mFunction

MMS solution for electron density

mms_sol_braginskii_circular_potmms_braginskii_circular_mFunction

MMS solution for electrostatic potential

mms_sol_braginskii_circular_temms_braginskii_circular_mFunction

MMS solution for electron temperature

mms_sol_braginskii_circular_timms_braginskii_circular_mFunction

MMS solution for ion temperature

mms_sol_braginskii_circular_uparmms_braginskii_circular_mFunction

MMS solution for parallel ion velocity

mms_sol_braginskii_circular_vortmms_braginskii_circular_mFunction

MMS solution for generalised vorticity TODO: Boussinesq version

mms_sol_braginskii_jparmms_braginskii_mFunction

MMS solution for parallel current

mms_sol_braginskii_nemms_braginskii_mFunction

MMS solution for electron density

mms_sol_braginskii_potmms_braginskii_mFunction

MMS solution for electrostatic potential

mms_sol_braginskii_psiparmms_braginskii_mFunction

MMS solution for generalised electromagnetic potential (aixiliary)

mms_sol_braginskii_qemms_braginskii_mFunction

MMS solution for electron heat flux

mms_sol_braginskii_qimms_braginskii_mFunction

MMS solution for ion heat flux

mms_sol_braginskii_slab_aparmms_braginskii_slab_mFunction

MMS solution for parallel electromagnetic potential

mms_sol_braginskii_slab_jparmms_braginskii_slab_mFunction

MMS solution for parallel current

mms_sol_braginskii_slab_nemms_braginskii_slab_mFunction

MMS solution for electron density

mms_sol_braginskii_slab_potmms_braginskii_slab_mFunction

MMS solution for electrostatic potential

mms_sol_braginskii_slab_qemms_braginskii_slab_mFunction

MMS solution for ion heat flux

mms_sol_braginskii_slab_qimms_braginskii_slab_mFunction

MMS solution for ion heat flux

mms_sol_braginskii_slab_temms_braginskii_slab_mFunction

MMS solution for electron temperature

mms_sol_braginskii_slab_timms_braginskii_slab_mFunction

MMS solution for ion temperature

mms_sol_braginskii_slab_uparmms_braginskii_slab_mFunction

MMS solution for parallel ion velocity

mms_sol_braginskii_slab_vortmms_braginskii_slab_mFunction

MMS solution for generalised vorticity

mms_sol_braginskii_slab_vortbsqmms_braginskii_slab_mFunction

MMS solution for Boussinesq vorticity

mms_sol_braginskii_temms_braginskii_mFunction

MMS solution for electron temperature

mms_sol_braginskii_timms_braginskii_mFunction

MMS solution for ion temperature

mms_sol_braginskii_uparmms_braginskii_mFunction

MMS solution for parallel ion velocity

mms_sol_braginskii_vortmms_braginskii_mFunction

MMS solution for generalised vorticity

mms_sol_circular_neutrals_densmms_neutrals_circular_mFunction

MMS solution for neutrals density

mms_sol_circular_neutrals_parmommms_neutrals_circular_mFunction

MMS solution for neutrals parallel momentum

mms_sol_circular_neutrals_pressuremms_neutrals_circular_mFunction

MMS solution for neutrals temperature

mms_sol_diffusionmms_diffusion_mFunction

MMS solution

mms_sol_diffusion_circularmms_diffusion_circular_mFunction

MMS solution

mms_sol_diffusion_slabmms_diffusion_slab_mFunction

MMS solution

mms_sol_neutrals_densmms_neutrals_mFunction

MMS solution for neutrals density

mms_sol_neutrals_parmommms_neutrals_mFunction

MMS solution for neutrals parallel momentum

mms_sol_neutrals_pressuremms_neutrals_mFunction

MMS solution for neutrals temperature

mms_sol_slab_neutrals_densmms_neutrals_slab_mFunction

MMS solution for neutrals density

mms_sol_slab_neutrals_parmommms_neutrals_slab_mFunction

MMS solution for neutrals parallel momentum

mms_sol_slab_neutrals_pressuremms_neutrals_slab_mFunction

MMS solution for neutrals temperature

mms_source_braginskii_circular_continuitymms_braginskii_circular_mFunction

MMS source for continuity equation

mms_source_braginskii_circular_etempmms_braginskii_circular_mFunction

MMS source for electron temperature equation

mms_source_braginskii_circular_itempmms_braginskii_circular_mFunction

MMS source for ion temperature equation

mms_source_braginskii_circular_ohmmms_braginskii_circular_mFunction

MMS source for parallel momentum equation

mms_source_braginskii_circular_parmomentummms_braginskii_circular_mFunction

MMS source for parallel momentum equation

mms_source_braginskii_circular_vorticitymms_braginskii_circular_mFunction

MMS source for continuity equation

mms_source_braginskii_continuitymms_braginskii_mFunction

MMS source for continuity equation

mms_source_braginskii_etempmms_braginskii_mFunction

MMS source for electron temperature equation

mms_source_braginskii_itempmms_braginskii_mFunction

MMS source for ion temperature equation

mms_source_braginskii_landau_emms_braginskii_mFunction

MMS source for elliptic Landau heat flux equation

mms_source_braginskii_landau_imms_braginskii_mFunction

MMS source for elliptic Landau heat flux equation

mms_source_braginskii_ohmmms_braginskii_mFunction

MMS source for Ohm's law

mms_source_braginskii_parmomentummms_braginskii_mFunction

MMS source for parallel momentum equation

mms_source_braginskii_slab_continuitymms_braginskii_slab_mFunction

MMS source for continuity equation

mms_source_braginskii_slab_etempmms_braginskii_slab_mFunction

MMS source for electron temperature equation

mms_source_braginskii_slab_itempmms_braginskii_slab_mFunction

MMS source for ion temperature equation

mms_source_braginskii_slab_landau_emms_braginskii_slab_mFunction

MMS source for elliptic Landau heat flux equation

mms_source_braginskii_slab_landau_imms_braginskii_slab_mFunction

MMS source for elliptic Landau heat flux equation

mms_source_braginskii_slab_ohmmms_braginskii_slab_mFunction

MMS source for parallel momentum equation

mms_source_braginskii_slab_parmomentummms_braginskii_slab_mFunction

MMS source for parallel momentum equation

mms_source_braginskii_slab_vorticitymms_braginskii_slab_mFunction

MMS source for continuity equation

mms_source_braginskii_slab_vorticitybsqmms_braginskii_slab_mFunction

MMS source for continuity equation

mms_source_braginskii_vorticitymms_braginskii_mFunction

MMS source for continuity equation

mms_source_circular_neutrals_densmms_neutrals_circular_mFunction

MMS source for neutral density equation

mms_source_circular_neutrals_parmommms_neutrals_circular_mFunction

MMS source for neutral parallel momentum equation

mms_source_circular_neutrals_pressuremms_neutrals_circular_mFunction

MMS source for neutral temperature equation

mms_source_diffusionmms_diffusion_mFunction

Source corresponding to MMS solution

mms_source_diffusion_circularmms_diffusion_circular_mFunction

Source corresponding to MMS solution

mms_source_diffusion_slabmms_diffusion_slab_mFunction

Source corresponding to MMS solution

mms_source_neutrals_densmms_neutrals_mFunction

MMS source for Neutrals density equation

mms_source_neutrals_parmommms_neutrals_mFunction

MMS source for Neutrals parallel momentum equation

mms_source_neutrals_pressuremms_neutrals_mFunction

MMS source for Neutrals temperature equation

mms_source_slab_neutrals_densmms_neutrals_slab_mFunction

MMS source for neutrals density equation

mms_source_slab_neutrals_parmommms_neutrals_slab_mFunction

MMS source for neutrals parallel momentum equation

mms_source_slab_neutrals_pressuremms_neutrals_slab_mFunction

MMS source for neutrals temperature equation

MmsSolDensmms_zhdanov_mFunction

MMS solution of density for specific species

MmsSourceDensmms_zhdanov_mFunction

MMS solution of density for specific species

model_braginskiimodel_braginskii_mSubroutine

Boundary conditions for the braginskii model Boundary conditions for the neutrals model

model_diffusionmodel_diffusion_mSubroutine
model_templatemodel_template_mSubroutine

Model template subroutine

model_zhdanovmodel_zhdanov_mSubroutine

Runs Zhdanov model

multistep_storagetest_timestepping_mSubroutine

Test of multistep_storage_m

nabla_pol_sqrdinplane_operators_mInterface
neumann_mirrorneutrals_module_mSubroutine

Apply "neumann mirroring", i.e. perpendicular neumann zero boundary condition in preparation for implicit solve of a neutrals equation

neutrals_dens_penalisationpenalisation_neutrals_mSubroutine

Sets the penalisation values for neutrals density

neutrals_parmom_penalisationpenalisation_neutrals_mSubroutine

Sets the penalisation values for neutrals parallel momentum

neutrals_pressure_penalisationpenalisation_neutrals_mSubroutine

Sets the penalisation values for neutrals pressure

ohm_advanceohm_electromagnetic_braginskii_mSubroutine

Advances Ohm's law in time and solves for parallel elctromagnetic potential and parallel current

on_major_checkpointcheckpoint_monitor_mFunction

Return current checkpoint state for the major cycle

on_minor_checkpointcheckpoint_monitor_mFunction

Return current checkpoint state for the minor cycle

par_divbparallel_map_mInterface
par_divb_cudaparallel_map_mInterface
par_divb_singleparallel_map_mInterface
par_gradparallel_map_mInterface
par_grad_cudaparallel_map_mInterface
par_grad_singleparallel_map_mInterface
parallel_divergence_nonalignednonaligned_operators_mSubroutine

Computes parallel divergence from parallel flux defined at 3D staggered positions Result (pardivu) is defined on full grid Based on symmetric formulation of Guenter's scheme (2nd and 4th order available)

parallel_gradient_nonalignednonaligned_operators_mSubroutine

Computes parallel gradient at 3D staggered positions Based on gradient_3D_staggered

parallel_map_cerfonstest_parallel_map_mSubroutine

test parallel_map for cerfons equilibrium

parallel_map_circulartest_parallel_map_mSubroutine

Test of parallel map for circular geometry

parallel_map_dommaschktest_parallel_map3d_mSubroutine
parallel_polarisation_advectionpolarisation_braginskii_mSubroutine

Computes the parallel advection part in the vorticity equation

parallel_target_flux_cerfonstest_parallel_target_flux_mSubroutine

Tests parallel target flux in CERFONS geometry

parallel_target_flux_circulartest_parallel_target_flux_mSubroutine

Tests parallel target flux in CIRCULAR geometry

parallelisation_finalizeparallelisation_setup_mSubroutine

Finalises MPI-environment

parallelisation_initparallelisation_setup_mSubroutine

Initialises MPI-environment and prints some general information

parse_cmd_filenamestartups_mSubroutine

Parses a filepath from command line

pen_ind_checksumtest_penalisation_mFunction

Compute sum of indices

penalisation_cerfonstest_penalisation_mSubroutine

Tests penalisation in CIRCULAR geometry

penalisation_circulartest_penalisation_mSubroutine

Tests penalisation in CIRCULAR geometry

penalisation_circular_stable_tracetest_penalisation_mSubroutine

Tests penalisation in CIRCULAR geometry via the stable trace method

penalisation_dommaschktest_penalisation_mSubroutine

Tests penalisation in DOMMASCHK geometry only VIA_IN_VESSEL and NONE methods

planes_reductionchecksum_braginskii_mSubroutine

Performs reduction over planes with plane dependent factor

polar_operators_cerfonstest_polar_operators_mSubroutine

Test of polar operators in circular geometry

polar_operators_circulartest_polar_operators_mSubroutine

Test of polar operators in circular geometry

polarisation_advancepolarisation_braginskii_mSubroutine

Advances vorticity in time and solves for pential

polarisation_advectioninplane_operators_mInterface
poly8_evalrate_coeff_neutrals_mFunction

Returns polynomial of degree 8, with coefficients pc(0:8), evaluated at x.

poly8x8_evalrate_coeff_neutrals_mFunction

Returns double polynomial of degree 8x8, with coefficients pc(x,y), evaluated at x and y.

pot_penalisationpenalisation_braginskii_mSubroutine

Sets the electrostatic potential penalisation values. The boundary condition BND_BRAGTYPE_FLOATING_POTENTIAL_LOCAL should always be combined with a zero-current boundary condition

process_to_filediagnostics_lineout_mSubroutine

Main diagnostics computation routine

process_to_filediagnostics_zonal_mSubroutine

Main diagnostics computation routine

process_to_filediagnostics_field_mSubroutine

Main diagnostics computation routine

process_to_filediagnostics_scalar_mSubroutine

Main diagnostics computation routine

project_lineoutdiagnostics_lineout_mSubroutine

Project input onto lineout diagnostic dimension nrho

project_scalardiagnostics_scalar_mSubroutine

Project input onto scalar diagnostic dimension nrho

project_zonaldiagnostics_zonal_mSubroutine

Project input onto zonal diagnostic dimension nrho

psipar_penalisationpenalisation_braginskii_mSubroutine

Sets the penalisation values for the modified electromagnetic potential. Currently, the only option is to set a dirichelet-zero value, which penalised jpar and apar to zero at the boundary

read_all_params_braginskiifacade_params_mSubroutine

Reads all parameters related with Braginskii model

read_all_params_diffusionparams_diffusion_mSubroutine

Reads all parameters related with diffusion model

read_all_params_neutralsfacade_params_mSubroutine

Reads all parameters related with Neutrals model

read_all_params_templateparams_template_mSubroutine

Initializes all parameters of template model (except for paths)

read_build_staticstatic_data_mSubroutine

Reads parameters that control build of static data

read_netcdf_equilibrium_storageequilibrium_storage_mInterface
read_netcdf_iol_sourceiol_source_mInterface
read_netcdf_mask_datamask_data_mInterface
read_netcdf_parallel_mapparallel_map_mInterface
read_netcdf_penalisationpenalisation_mInterface
read_netcdf_perp_bnd_fluxperp_bnd_flux_mInterface
read_netcdf_polarspolars_mInterface
read_netcdf_polygon_in_meshpolygon_in_mesh_mInterface
read_netcdf_target_markersparallel_target_flux_mInterface
read_netcdf_variablevariable_mInterface
read_params_boundaries_parpenparams_diffusion_boundaries_parpen_mSubroutine

Reads parameters related with boundaries_parpen

read_params_boundaries_perpparams_diffusion_boundaries_perp_mSubroutine

Reads parameters related with boundaries_perp

read_params_brag_boundaries_parpenparams_brag_boundaries_parpen_mSubroutine

Reads parameters related with brag_boundaries_parpen

read_params_brag_boundaries_perpparams_brag_boundaries_perp_mSubroutine

Reads parameters related with brag_boundaries_perp

read_params_brag_bufferparams_brag_buffer_mSubroutine

Reads parameters related with brag_buffer

read_params_brag_floorsparams_brag_floors_mSubroutine

Reads parameters related with brag_floors

read_params_brag_init_selectparams_brag_init_select_mSubroutine

Reads parameters related with brag_init_select

read_params_brag_modelparams_brag_model_mSubroutine

Reads parameters related with brag_model

read_params_brag_numdissparams_brag_numdiss_mSubroutine

Reads parameters related with brag_numdiss

read_params_brag_pardiss_modelparams_brag_pardiss_model_mSubroutine

Reads parameters related with brag_pardiss_model

read_params_brag_sources_external_selectparams_brag_sources_external_select_mSubroutine

Reads parameters related with brag_sources_external_select

read_params_brag_switchesparams_brag_switches_mSubroutine

Reads parameters related with brag_switches

read_params_evol_apar_shiftparams_apar_shift_mSubroutine

Reads parameters related to apar_shift model

read_params_feature_selectionparams_feature_selection_mSubroutine

Reads parameters related with feature_selection

read_params_hsolverparams_hsolver_mSubroutine

Reads parameters related with hsolver

read_params_impy_coronalparams_impy_coronal_mSubroutine

Reads parameters related with impy_coronal

read_params_init_selectparams_diffusion_init_select_mSubroutine

Reads parameters related with selection of initial state in diffusion model

read_params_ioliol_source_mInterface
read_params_lineoutdiagnostics_lineout_mInterface
read_params_mmsparams_diffusion_mms_mSubroutine

Reads parameters related with mms in diffusion model

read_params_modelparams_diffusion_model_mSubroutine

Reads parameters related with diffusion model

read_params_neut_boundaries_parpenparams_neut_boundaries_parpen_mSubroutine

Reads parameters related with neut_boundaries_parpen

read_params_neut_boundaries_perpparams_neut_boundaries_perp_mSubroutine

Reads parameters related with neut_boundaries_perp

read_params_neut_data_pathsparams_neut_data_paths_mSubroutine

Reads parameters related with neut_data_paths_m

read_params_neut_floorsparams_neut_floors_mSubroutine

Reads parameters related with neut_floors

read_params_neut_init_selectparams_neut_init_select_mSubroutine

Reads parameters related with neut_init_select

read_params_neut_modelparams_neut_model_mSubroutine

Reads parameters related with neutrals model

read_params_neut_switchesparams_neut_switches_mSubroutine

Reads parameters related with neut_switches

read_params_template_featuresparams_template_mInterface
read_params_template_modelparams_template_mInterface
read_params_template_parbndparams_template_mInterface
read_params_template_pathsparams_template_mInterface
read_params_template_tstepparams_template_mInterface
read_params_timestepparams_zhdanov_general_mSubroutine

Reads parameters related with timestepping

read_params_tstepparams_diffusion_tstep_mSubroutine

Reads parameters related with timestepping in diffusion model

read_params_tstepparams_tstep_mSubroutine

Reads parameters related with timestepping in Braginskii model

read_pathsparams_diffusion_mSubroutine

Reads paths to parameter files

read_pathsfacade_params_mSubroutine

Reads paths to parameter files

read_snapssnapshot_mSubroutine

Reads snapshot

read_snaps_lastsnapshot_mSubroutine

Reads last available snapshot

read_template_state_netcdfstate_template_mInterface
read_zhdanov_controlsparams_zhdanov_general_mSubroutine

Reads parameters related with control of Zhdanov model

read_zhdanov_paramsparams_zhdanov_species_mSubroutine

Reads parameters related with physical model

read_zhdanov_paramsparams_zhdanov_general_mSubroutine

Reads parameters related with physical model

rhs_fun_for_rktimestep_template_mSubroutine

Evaluates right hand side (explicit terms) for use in Runge-Kutta time-step integrator Be aware, that this function changes the state of the template model. For interface, see the corresponding Runge-Kutta module

runge_kuttatest_timestepping_mSubroutine

Test of module runge_kutta_m integrates - dy_1/dtau = y --> y_1(tau) = exp(tau) - dy_2/dtau = 2tauy --> y_2(tau) = exp(tau^2) until tau = 2 Analytic result of y_1(2) = exp(2) ~ 7.38905609893 Analytic result of y_2(2) = exp(4) ~ 54.5981500331

say_hellocomm_handler_mSubroutine
set_blob_alignedvariable_mInterface
set_blob_toroidalvariable_mInterface
set_coeffssources_external_mSubroutine

Compute the coefficient that matches the total input rate

set_intorderparallel_map_mSubroutine

Set interpolation order

set_parameters_mapparallel_map_mInterface
set_parameters_penalisationpenalisation_mInterface
set_parameters_polarspolars_mInterface
set_rank_info_writerparallelisation_setup_mSubroutine

Sets rank_info_writer as rank that performs info output within GRILLIX

set_toroidal_locationparallel_map_mInterface
set_xorderparallel_map_mSubroutine

Set order of subcell splitting

setup_implicit_solveneutrals_module_mSubroutine

Setup equation system for a neutrals diffusion equation on target variable u by setting lambda, xi, co, rhs coefficients in the helmholtz operator

shift_storagemultistep_mInterface
snaps_averagesnapshots_helpers_mSubroutine

Averages an variable in the snapshots from nsnaps_start until nsnaps_end

solve_aligned3dsolver_aligned3d_mInterface
solve_aligned3d_adjointsolver_aligned3d_mInterface
spline_grid_initiol_source_mInterface
start_comm_halosvariable_mInterface
start_comm_planescommunication_planes_mSubroutine

Starts communication among two planes

static_all_components_initstatic_data_mSubroutine

Initializes a complete static data set with all components

static_bnd_flux_initstatic_data_mInterface
static_equi_initstatic_data_mInterface
static_equi_on_mesh_initstatic_data_mInterface
static_field_solver_initstatic_data_mInterface
static_map_initstatic_data_mInterface
static_masks_initstatic_data_mInterface
static_multigrid_initstatic_data_mInterface
static_parbnd_immersed_initstatic_data_mInterface
static_parbnd_taylor_initstatic_data_mInterface
static_polars_initstatic_data_mInterface
surface_averagepolar_operators_mSubroutine

Computes zonal average of quantity

test_apar_fluct_evaluatetest_apar_fluct_evaluate_mSubroutine

Tests evaluate_apar_fluct function in CIRCULAR geometry

test_apar_shifttest_apar_shift_mSubroutine

Tests apar_shift module in CIRCULAR geometry

test_checkpoint_monitortest_checkpoint_monitor_mSubroutine

Test of checkpoint monitor

test_comm_handlertest_comm_handler_mSubroutine

test of communication handler

test_communication_planestest_communication_planes_mSubroutine

Tests communiacationa among planes with varying dimensions

test_masked_data_cerfonstest_masked_data_mSubroutine

Test of masked data in cerfons geometry

test_parallel_map_operators_cerfonstest_parallel_map_operators_mSubroutine

Test of parallel operators in CERFONS geometry

test_parallel_map_operators_circulartest_parallel_map_operators_mSubroutine

Test of parallel operators in circular geometry

test_parallel_map_operators_dommaschktest_parallel_map_operators_mSubroutine

Test of parallel operators in DOMMASCHK geometry

test_params_diffusion_boundaries_parpentest_params_diffusion_mSubroutine

Tests params_diffusion_boundaries_parpen

test_params_diffusion_boundaries_perptest_params_diffusion_mSubroutine

Tests params_diffusion_boundaries_perp

test_params_diffusion_init_selecttest_params_diffusion_mSubroutine

Tests params_diffusion_boundaries_parpen

test_params_diffusion_mmstest_params_diffusion_mSubroutine

Tests params_diffusion_mms

test_params_diffusion_modeltest_params_diffusion_mSubroutine

Tests params_diffusion_model

test_params_diffusion_parsolvertest_params_diffusion_mSubroutine

Tests params_diffusion_parsolver

test_params_diffusion_tsteptest_params_diffusion_mSubroutine

Tests params_diffusion_tstep

test_polygon_in_mesh_cerfonstest_polygon_in_mesh_mSubroutine

Tests polygon on mesh in CERFONS geometry

test_variabletest_variable_mSubroutine

Tests variable data structure

test_variable_settest_variable_mSubroutine

Tests set_blob_toroidal and set_blob_aligned of variables

timestep_apar_shiftmodel_apar_shift_mSubroutine

Advances apar_shift from t to t+1

timestep_braginskiitimestep_braginskii_mSubroutine

Evolves variables a single time-step according to BRAGINSKII model ... parallel mappings - map to canonical

timestep_diffusiontimestep_diffusion_mSubroutine

Evolves variable a single time-step according to anisotropic diffusion model

timestep_neutralsneutrals_module_mSubroutine

Advances neutrals quantities from t to t+1

timestep_templatetimestep_template_mSubroutine

Model template subroutine Yet a simple in-plane diffusion equation with first order explicit Euler scheme is implemented

timestep_zhdanovtimestep_zhdanov_mSubroutine

Evolves variable a single time-step according to zhdanov model

total_volumediagnostics_helpers_mFunction

Compute total volume over all mesh points

upar_penalisationpenalisation_braginskii_mSubroutine

Sets the parallel velocity penalisation values.

update_derived_fieldsstate_template_mSubroutine

Updates derived fields upar = parmom /dens_(stag) tion = pion / dens_(cano)

update_iol_sourceiol_source_mInterface
upstream_cano_from_cano_bwdparallel_map_mInterface
upstream_cano_from_cano_bwd2parallel_map_mInterface
upstream_cano_from_cano_bwd2_singleparallel_map_mInterface
upstream_cano_from_cano_bwd_singleparallel_map_mInterface
upstream_cano_from_cano_fwdparallel_map_mInterface
upstream_cano_from_cano_fwd2parallel_map_mInterface
upstream_cano_from_cano_fwd2_singleparallel_map_mInterface
upstream_cano_from_cano_fwd_singleparallel_map_mInterface
upstream_stag_from_stag_bwdparallel_map_mInterface
upstream_stag_from_stag_bwd_singleparallel_map_mInterface
upstream_stag_from_stag_fwdparallel_map_mInterface
upstream_stag_from_stag_fwd_singleparallel_map_mInterface
vort_penalisationpenalisation_braginskii_mSubroutine

Sets the vorticity penalisation values.

write_all_params_braginskiifacade_params_mSubroutine

Writes all parameters related with Braginskii model

write_all_params_diffusionparams_diffusion_mSubroutine

Writes all parameters related with diffusion model

write_all_params_neutralsfacade_params_mSubroutine

Writes all parameters related with Neutrals model

write_ascii_iol_sourceiol_source_mInterface
write_diagnosticsdiagnostics_group_mSubroutine

Write all diagnostics

write_netcdf_diagnostic_variablediagnostic_variable_mSubroutine

Writes variable to netcdf file

write_netcdf_equilibrium_storageequilibrium_storage_mInterface
write_netcdf_iol_sourceiol_source_mInterface
write_netcdf_mask_datamask_data_mInterface
write_netcdf_parallel_mapparallel_map_mInterface
write_netcdf_penalisationpenalisation_mInterface
write_netcdf_perp_bnd_fluxperp_bnd_flux_mInterface
write_netcdf_polarspolars_mInterface
write_netcdf_polygon_in_meshpolygon_in_mesh_mInterface
write_netcdf_target_markersparallel_target_flux_mInterface
write_netcdf_variablevariable_mInterface
write_params_apar_shiftparams_apar_shift_mSubroutine

Writes parameters related to mshift

write_params_boundaries_parpenparams_diffusion_boundaries_parpen_mSubroutine

Writes parameters related with boundaries_parpen

write_params_boundaries_perpparams_diffusion_boundaries_perp_mSubroutine

Writes parameters related with boundaries_perp

write_params_brag_boundaries_parpenparams_brag_boundaries_parpen_mSubroutine

Reads parameters related with brag_boundaries_parpen

write_params_brag_boundaries_perpparams_brag_boundaries_perp_mSubroutine

Reads parameters related with brag_boundaries_perp

write_params_brag_bufferparams_brag_buffer_mSubroutine

Reads parameters related with brag_buffer

write_params_brag_floorsparams_brag_floors_mSubroutine

Reads parameters related with brag_floors

write_params_brag_init_selectparams_brag_init_select_mSubroutine

Reads parameters related with brag_init_select

write_params_brag_modelparams_brag_model_mSubroutine

Reads parameters related with brag_model

write_params_brag_numdissparams_brag_numdiss_mSubroutine

Reads parameters related with brag_numdiss

write_params_brag_pardiss_modelparams_brag_pardiss_model_mSubroutine

Reads parameters related with brag_pardiss_model

write_params_brag_sources_external_selectparams_brag_sources_external_select_mSubroutine

Reads parameters related with brag_sources_external_select

write_params_brag_switchesparams_brag_switches_mSubroutine

Reads parameters related with switches

write_params_feature_selectionparams_feature_selection_mSubroutine

Reads parameters related with feature_selection

write_params_hsolverparams_hsolver_mSubroutine

Writes parameters related with hsolver

write_params_impy_coronalparams_impy_coronal_mSubroutine

Reads parameters related with impy_coronal

write_params_init_selectparams_diffusion_init_select_mSubroutine

Reads parameters related with selection of initial state in diffusion model

write_params_lineoutdiagnostics_lineout_mInterface
write_params_mmsparams_diffusion_mms_mSubroutine

Reads parameters related with mms in diffusion model

write_params_modelparams_diffusion_model_mSubroutine

Reads parameters related with diffusion model

write_params_neut_boundaries_parpenparams_neut_boundaries_parpen_mSubroutine

Reads parameters related with neut_boundaries_parpen

write_params_neut_boundaries_perpparams_neut_boundaries_perp_mSubroutine

Reads parameters related with neutral neut_boundaries_perp

write_params_neut_data_pathsparams_neut_data_paths_mSubroutine

Reads parameters related with neut_data_paths_m

write_params_neut_floorsparams_neut_floors_mSubroutine

Reads parameters related with neut_floors

write_params_neut_init_selectparams_neut_init_select_mSubroutine

Reads parameters related with neut_init_select

write_params_neut_modelparams_neut_model_mSubroutine

Reads parameters related with neutrals model

write_params_neut_switchesparams_neut_switches_mSubroutine

Reads parameters related with neut_switches

write_params_tstepparams_diffusion_tstep_mSubroutine

Reads parameters related with timestepping in diffusion model

write_params_tstepparams_tstep_mSubroutine

Reads parameters related with timestepping in Braginskii model

write_pathsparams_diffusion_mSubroutine

WWrites paths to parameter files

write_pathsfacade_params_mSubroutine

WWrites paths to parameter files

write_snapsmodel_apar_shift_mSubroutine

Writes apar_shift to snapshots

write_snapssnapshot_mSubroutine

Writes snapshot

write_template_state_netcdfstate_template_mInterface
xplane_initiol_source_mInterface
zonal_neumann_coreboundaries_braginskii_mSubroutine

Sets Zonal Neumann boundary conditions on u (or v), u_b = , after local Neumann b.c. d/dr u_b_N = 0 had been applied to u. u is flux-surface averaged and the core value is used as a Dirichlet b.c.. For data handling reasons, in- and output can be separated with variable v = .