Loading...
Searching...
No Matches
dc_units::deallocate Interface Reference

Public Member Functions

subroutine dcunitsdeallocate (u)

Detailed Description

Definition at line 40 of file dc_units.f90.

Member Function/Subroutine Documentation

◆ dcunitsdeallocate()

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

Definition at line 202 of file dc_units.f90.

203 type(UNITS), intent(inout):: u
204 if (associated(u%name)) deallocate(u%name)
205 if (associated(u%power)) deallocate(u%power)
206 u%factor = 1.0_dp
207 u%offset = ""
208 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: