Public Member Functions | |
| subroutine | hstnmlinfocreate (gthstnml, interval_value, interval_unit, precision, time_average, average, fileprefix, origin_value, origin_unit, terminus_value, terminus_unit, slice_start, slice_end, slice_stride, space_average, newfile_intvalue, newfile_intunit, err) |
Interface of procedures provided from gtool_history_nmlinfo
See gtool_history_nmlinfo for brief of this module.
HstNmlInfoAllNameValid : Check invalid variable names
Use this module as follows.
Sample Fortran programs generator (Ruby script) is available from http://www.gfd-dennou.org/library/dcpam/dcpam4/dcpam4_current/script/f90/dcmodel_f90sample_maker.rb . Sample Fortran programs are created by executing this script. It is recommended to see sample Fortran programs actually.
Pass HstNmlInfoAssocGtHist variable identifier name and history of gtool_history_types::GT_HISTORY pointer when setting output and data output is performed with gtool_history_generic::HistoryCreate, gtool_history_generic::HistoryAddVariable, gtool_history_generic::HistoryPut, etc. history is associated to gtool_history_types::GT_HISTORY correspond to name stored in gtool_history_nmlinfo_types::GTHST_NMLINFO variable. Necessary output interval and precision for gtool_history_generic::HistoryCreate can be obtained by using HstNmlInfoInquire. Please put history into a null state by NULLIFY after use. (Information of output is lost when DEALLOCATE is used, so do not use it).
It can know whether the output setting is effective for each variable with HstNmlInfoOutputValid.
Moreover, it can know whether current time is output timing when gtool_history_generic::HistoryPut is used while integrating time with HstNmlInfoOutputStep.
Definition at line 225 of file gtool_history_nmlinfo_generic.f90.
| subroutine gtool_history_nmlinfo_generic::hstnmlinfocreate::hstnmlinfocreate | ( | type(gthst_nmlinfo), intent(inout) | gthstnml, |
| real(dp), intent(in), optional | interval_value, | ||
| character(*), intent(in), optional | interval_unit, | ||
| character(*), intent(in), optional | precision, | ||
| logical, intent(in), optional | time_average, | ||
| logical, intent(in), optional | average, | ||
| character(*), intent(in), optional | fileprefix, | ||
| real(dp), intent(in), optional | origin_value, | ||
| character(*), intent(in), optional | origin_unit, | ||
| real(dp), intent(in), optional | terminus_value, | ||
| character(*), intent(in), optional | terminus_unit, | ||
| integer, dimension(:), intent(in), optional | slice_start, | ||
| integer, dimension(:), intent(in), optional | slice_end, | ||
| integer, dimension(:), intent(in), optional | slice_stride, | ||
| logical, dimension(:), intent(in), optional | space_average, | ||
| integer, intent(in), optional | newfile_intvalue, | ||
| character(*), intent(in), optional | newfile_intunit, | ||
| logical, intent(out), optional | err ) |
Definition at line 226 of file gtool_history_nmlinfo_generic.f90.
References dc_types::dp.