Appearance
adam_prism_magnetic_field_at_center_domain_object
ADAM, PRISM magnetic-field-at-domain-center diagnostic object.
Source: src/app/prism/common/adam_prism_magnetic_field_at_center_domain_object.F90
Dependencies
Contents
Variables
| Name | Type | Attributes | Description |
|---|---|---|---|
MFCD_SECTION_NAME | character(len=31) | parameter |
Derived Types
prism_magnetic_field_at_center_domain_object
PRISM domain-center magnetic-field diagnostic configuration and history writer.
Components
| Name | Type | Attributes | Description |
|---|---|---|---|
do_save_history | logical | Enable history output. | |
history_save | integer(kind=I4P) | History output cadence. | |
history_unit | integer(kind=I4P) | History file unit. | |
output_basename | character(len=:) | allocatable | Basename of output files. |
center | real(kind=R8P) | Geometrical domain center. | |
sample_point | real(kind=R8P) | Point used for sampling. | |
magnetic_field | real(kind=R8P) | B at sample point. | |
distance | real(kind=R8P) | Distance from sample point to the geometrical center. |
Type-Bound Procedures
| Name | Attributes | Description |
|---|---|---|
initialize | pass(self) | |
load_from_file | pass(self) | |
save_history | pass(self) |
Subroutines
initialize
Initialize the domain-center magnetic-field diagnostic.
fortran
subroutine initialize(self, file_parameters, output_basename, verbose)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(prism_magnetic_field_at_center_domain_object) | inout | ||
file_parameters | type(file_ini) | in | ||
output_basename | character(len=*) | in | ||
verbose | logical | in | optional |
Call graph
load_from_file
Load domain-center magnetic-field config from the shared input file.
fortran
subroutine load_from_file(self, file_parameters)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(prism_magnetic_field_at_center_domain_object) | inout | ||
file_parameters | type(file_ini) | in |
Call graph
save_history
Save domain-center magnetic-field history.
fortran
subroutine save_history(self, it, time, blocks_number, is_to_open, is_to_close)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(prism_magnetic_field_at_center_domain_object) | inout | ||
it | integer(kind=I4P) | in | ||
time | real(kind=R8P) | in | ||
blocks_number | integer(kind=I4P) | in | ||
is_to_open | logical | in | optional | |
is_to_close | logical | in | optional |
Call graph