dc_units::deallocate Interface Reference

Private 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)
private

Definition at line 203 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

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