gtool5 Fortran 90/95 Library 1.0.0-rc5
日本語
Loading...
Searching...
No Matches
dc_units::clear Interface Reference

Public Member Functions

subroutine dcunitsclear (u)

Detailed Description

Definition at line 87 of file dc_units.f90.

Member Function/Subroutine Documentation

◆ dcunitsclear()

subroutine dc_units::clear::dcunitsclear ( type(units), intent(inout) u)

Initialize UNITS variable

Nullifies pointers and sets factor to 1.0 and nelems to 0.

Parameters
[in,out]uUNITS variable to initialize

Definition at line 339 of file dc_units.f90.

340 type(UNITS), intent(inout):: u
341 nullify(u%name)
342 nullify(u%power)
343 u%factor = 1.0_dp
344 u%offset = ""
345 u%nelems = 0

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