gtool5 Fortran 90/95 ライブラリ 1.0.0-rc5
English
Loading...
Searching...
No Matches
dc_units::deallocate Interface Reference

Public Member Functions

subroutine dcunitsdeallocate (u)

Detailed Description

Definition at line 91 of file dc_units.f90.

Member Function/Subroutine Documentation

◆ dcunitsdeallocate()

subroutine dc_units::deallocate::dcunitsdeallocate ( type(units), intent(inout) u)

UNITS 変数を解放

割り当てられた配列を解放し、初期状態にリセットします.

Parameters
[in,out]u解放する UNITS 変数

Definition at line 361 of file dc_units.f90.

362 type(UNITS), intent(inout):: u
363 if (associated(u%name)) deallocate(u%name)
364 if (associated(u%power)) deallocate(u%power)
365 u%factor = 1.0_dp
366 u%offset = ""
367 u%nelems = 0

References cancel_exp(), dcunits_com::dcunitsgettoken(), dcunits_com::dcunitssetline(), dcunits_com::s_closepar, dcunits_com::s_divide, dcunits_com::s_eof, dcunits_com::s_exponent, dcunits_com::s_integer, dcunits_com::s_multiply, dcunits_com::s_openpar, dcunits_com::s_real, dcunits_com::s_shift, and dcunits_com::s_text.

Here is the call graph for this function:

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