Skip to content

adam_prism_grms_object

ADAM, PRISM Grms diagnostic object.

Source: src/app/prism/common/adam_prism_grms_object.F90

Dependencies

Contents

Variables

NameTypeAttributesDescription
GRMS_SECTION_NAMEcharacter(len=4)parameter

Derived Types

prism_grms_object

PRISM Grms diagnostic configuration and history writer.

Components

NameTypeAttributesDescription
do_save_historylogicalEnable Grms history output.
history_saveinteger(kind=I4P)Grms history output cadence.
history_unitinteger(kind=I4P)Grms history file unit.
use_cylindrical_regionlogicalRestrict the diagnostic to an input cylinder.
centerreal(kind=R8P)Cylinder center.
axisreal(kind=R8P)Cylinder axis, normalized at load time.
radiusreal(kind=R8P)Cylinder radius.
lengthreal(kind=R8P)Cylinder length.
output_basenamecharacter(len=:)allocatableBasename of output files.
grms_domain_Breal(kind=R8P)Grms over the selected domain.
grms_3db_Breal(kind=R8P)Grms over the -3 dB subset of the selected domain.
reference_Breal(kind=R8P)Reference rotating magnetic field amplitude.
threshold_Breal(kind=R8P)-3 dB threshold amplitude.
domain_measurereal(kind=R8P)Measure of the selected domain.
measure_3dbreal(kind=R8P)Measure of the -3 dB subset.
domain_cells_numberinteger(kind=I8P)Number of cells in the selected domain.
cells_number_3dbinteger(kind=I8P)Number of cells in the -3 dB subset.

Type-Bound Procedures

NameAttributesDescription
initializepass(self)
load_from_filepass(self)
save_historypass(self)

Subroutines

initialize

Initialize the Grms diagnostic.

fortran
subroutine initialize(self, file_parameters, output_basename, verbose)

Arguments

NameTypeIntentAttributesDescription
selfclass(prism_grms_object)inout
file_parameterstype(file_ini)in
output_basenamecharacter(len=*)in
verboselogicalinoptional

Call graph

load_from_file

Load Grms config from the shared input file.

fortran
subroutine load_from_file(self, file_parameters, go_on_fail)

Arguments

NameTypeIntentAttributesDescription
selfclass(prism_grms_object)inout
file_parameterstype(file_ini)in
go_on_faillogicalinoptional

Call graph

save_history

Save Grms history.

fortran
subroutine save_history(self, it, time, blocks_number, is_to_open, is_to_close)

Arguments

NameTypeIntentAttributesDescription
selfclass(prism_grms_object)inout
itinteger(kind=I4P)in
timereal(kind=R8P)in
blocks_numberinteger(kind=I4P)in
is_to_openlogicalinoptional
is_to_closelogicalinoptional

Call graph