Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Hull and Outfitting

Subroutine Outline Specifications

  • Last UpdatedFeb 09, 2023
  • 14 minute read

Outline specifications are presented for the auxiliary routines in the order listed above.

SUBROUTINE D3QMEM ( ID3DIS, ID3NIN, CD3TYP, CD3NAM, ID3NOU, ID3ERR )

INTEGER

ID3DIS, ID3NIN, ID3NOU, ID3ERR

CHARACTER*(*)

CD3TYP(ID3NIN), CD3NAM(ID3NIN

Performs the equivalent of a Q MEMBERS for the current element. Element types and names/references are returned in the output arrays, up to ID3NIN members.

Calls D3RNAM, D3RTYP, D3MREL, D3ERST, D3XLEN, D3MNAM

ID3DIS

Display flag

ID3NIN

Max number of array elements required

CD3TYP

Array of element types (allow four characters per element)

CD3NAM

Array of element names (allow 50 characters per element)

ID3NOU

Number of elements returned for each of above two arrays

ID3ERR

Error code

SUBROUTINE D3QCMA ( ID3DIS, TYPE, NAME, OWNE, LOCK, ID3ERR )

INTEGER

ID3DIS, ID3ERR

LOGICAL

LOCK

CHARACTER*(*)

TYPE, NAME, OWNE

Performs the equivalent of a Q ATT for the current element for the four common attributes type, name, owner and lock.

Calls D3RTYP, D3RNAM, D3RLOG, D3XLEN, D3EMSG, D3ERST. Called by most other auxiliary routines.

ID3DIS

Display flag

TYPE

Type NAMEName

OWNE

Owner name/ref LOCKLock flag

ID3ERR

Error code

SUBROUTINE D3QUDV ( ID3DIS, ID3ERR )

INTEGER

ID3DIS, ID3ERR

Performs the equivalent of a Q ATT for all UDAs for the current element. Lists the UDAs, their properties and values.

Calls D3RIA, D3RRA, D3RLA, D3RRFA, D3RTEX, D3XLEN, D3EMSG, D3RUDA, D3RUNI, D3RPTX, D3RNAM, D3RTYP, D3ERST

ID3DIS

Display flag

ID3ERR

Error code

The following are displayed but not returned:

For the element type:

UDA names & minimum abbreviations

UDA type

Reporter text

For the element, for each UDA:

UDA value and units (if any)

A value of 0 for ID3DIS does not suppress the output.

SUBROUTINE D3QSIT (ID3DIS, TYPE, NAME, OWNE, LOCK, POS, ORI, ID3ERR)

INTEGER

ID3DIS, ID3ERR

LOGICAL

LOCK

CHARACTER*(*)

TYPE, NAME, OWNE

REAL

POS(3), ORI(3)

Performs the equivalent of a Q ATT for a SITE.

Calls D3RNAM, D3XLEN, D3QCMA, D3RRA, D3EMSG

ID3DIS

Display flag

TYPE

Type

NAME Name

OWNE

Owner name/ref

LOCK  Lock flag

POS

Position

ORI  Orientation

ID3ERR

Error code

SUBROUTINE D3QZON( ID3DIS, TYPE, NAME, OWNE, LOCK, POS, ORI, PSPE,ISPE, TSPE, ID3ERR )

INTEGER

ID3DIS, ID3ERR

LOGICAL

LOCK

CHARACTER*(*)

TYPE, NAME, OWNE, PSPE, ISPE, TSPE

REAL

POS(3), ORI(3)

Performs the equivalent of a Q ATT for a ZONE.

Calls D3RNAM, D3XLEN, D3QCMA, D3RRA, D3EMSG, D3ERST

ID3DIS

Display flag

TYPE

Type

NAME

Name

OWNE

Owner name/ref

LOCK

Lock flag

POS

Position

ORI

Orientation

PSPE

Pipe spec

ISPE

Insulation spec

TSPE

Tracing spec

ID3ERR

Error code

SUBROUTINE D3QPIP( ID3DIS, TYPE, NAME, OWNE, LOCK, BUIL, SHOP, BORE,TEMP, PRES, PSPE, ISPE, TSPE, MATR, FLUR, CASR,CCEN, CCLA, DUTY, LNTP, EREC, REV, DSCO, PTSP,INSC, SAFC, ID3ERR )

INTEGER

ID3DIS, CCEN, CCLA, EREC, REV, SAFC, ID3ERR

LOGICAL

LOCK, BUIL, SHOP

CHARACTER*(*)

TYPE, NAME, OWNE, PSPE, ISPE, TSPE, MATR

CHARACTER*(*)

FLUR, CASR, DUTY, LNTP, DSCO, PTSP, INSC

REAL

BORE, TEMP, PRES

Performs the equivalent of a Q ATT for a pipe.

Calls D3RNAM, D3XLEN, D3QBPA, D3RREA, D3RINT, D3EMSG

ID3DIS

Display flag

TYPE

Type

NAME

Name

OWNE

Owner name/ref

LOCK

Lock flag

BUIL

Built flag

SHOP

Shop flag

BORE

Pipe bore

TEMP

Temperature

PRES

Pressure

PSPE

Pipe spec

ISPE

Insulation spec

TSPE

Tracing spec

MATR

Material ref

FLUR

Fluid ref

CASR

List of cases ref

CCEN

Cost centre

CCLA

Cost class

DUTY

Duty

LNTP

Line type identifier

EREC

Erection

REV

Revision

DSCO

Design code

PTSP

Paint spec

INSC

Inspection schedule

SAFC

Safety class

ID3ERR

Error code

SUBROUTINE D3QBRA( ID3DIS, TYPE, NAME, OWNE, LOCK, BUIL, LHEA, LTAI,DETA, SHOP, LSTR, LNTP, EREC, HBOR, TBOR, HCON,TCON, TEMP, PRES, FLOW, MATR, FLUR, CASR, PSPE,ISPE, TSPE, CCEN, CCLA, DUTY, DSCO, PTSP, INSC,SAFC, HSTU, HREF, TREF, HPOS, HDIR, TPOS, TDIR,ID3ERR )

INTEGER

ID3DIS, EREC, CCEN, CCLA, SAFC, ID3ERR

LOGICAL

LOCK, BUIL, LHEA, LTAI, DETA, SHOP, LSTR

CHARACTER*(*)

TYPE, NAME, OWNE, LNTP, HCON, TCON, FLOW, MATR

CHARACTER*(*)

FLUR, CASR, PSPE, ISPE, TSPE, DUTY, DSCO, PTSP

CHARACTER*(*)

INSC, HSTU, HREF, TREF

REAL

HBOR, TBOR, TEMP, PRES, HPOS(3), HDIR(3)

REAL

TPOS(3), TDIR(3)

Performs the equivalent of a Q ATT for a branch.

Calls D3RNAM, D3XLEN, D3QBPA, D3RLOG, D3RREA, D3RWOR, D3RRA, D3EMSG, D3ERST.

ID3DIS

Display flag

TYPE

Type

NAME

Name

OWNE

Owner name/ref

LOCK

Lock flag

BUIL

Built flag

LHEA

Head flag

LTAI

Tail flag

DETA

Detailed flag

SHOP

Shop flag

LSTR

Stressed flag

LNTP

Line type identifier

EREC

Erection

HBOR

Head bore

TBOR

Tail bore

HCON

Head connection type

TCON

Tail connection type

TEMP

Temperature

PRES

Pressure

FLOW

Flow direction

MATR

Material ref

FLUR

Fluid ref

CASR

List of cases ref

PSPE

Pipe spec

ISPE

Insulation spec

TSPE

Tracing spec

CCEN

Cost centre

CCLA

Cost class

DUTY

Duty

DSCO

Design code

PTSP

Paint spec

INSC

Inspection schedule

SAFC

Safety class

HSTU

Tube spec ref

HREF

Head ref

TREF

Tail ref

HPOS

Head position

HDIR

Head direction

TPOS

Tail position

TDIR

Tail direction

ID3ERR

Error code

SUBROUTINE D3QBPA( ID3DIS, TYPE, NAME, OWNE, LOCK, BUIL, SHOP, TEMP,PRES, PSPE, ISPE, TSPE, MATR, FLUR, CASR, CCEN,CCLA, DUTY, LNTP, EREC, DSCO, PTSP, INSC, SAFC,ID3ERR )

INTEGER

ID3DIS, CCEN, CCLA, EREC, SAFC, ID3ERR

LOGICAL

LOCK, BUIL, SHOP

CHARACTER*(*)

TYPE, NAME, OWNE, PSPE, ISPE, TSPE, MATR, FLUR

CHARACTER*(*)

CASR, DUTY, LNTP, DSCO, PTSP, INSC

REAL

TEMP, PRES

Performs the equivalent of a Q ATT for the current element for the attributes common to branch and pipe.

Calls D3QCMA, D3RLOG, D3RREA, D3RNAM, D3RINT, D3RTEX, D3RWOR, D3XLEN, D3EMSG

Called by D3QBRA, D3QPIP

Arguments: as defined in D3QBRA, D3QPIP

SUBROUTINE D3QTEE( ID3DIS, TYPE, NAME, OWNE, LOCK, POS, ORI, SPRE, LSTU, CREF, ARRI, LEAV, ANGL, HEIG, RADI, BUIL, SHOP, ORIL, POSI, LOFF, ISPE, TSPE, ID3ERR )

INTEGER

ID3DIS, ARRI, LEAV, ID3ERR

LOGICAL

LOCK, SHOP, BUIL, ORIL, POSI, LOFF

CHARACTER*(*)

TYPE, NAME, OWNE, SPRE, LSTU, CREF, ISPE, TSPE

REAL

POS(3), ORI(3), HEIG, RADI, ANGL

Performs the equivalent of a Q ATT for a TEE.

Calls D3RNAM, D3XLEN, D3QCPA, D3RREA, D3RLOG, D3EMSG, D3ERST

ID3DIS

Display flag

TYPE

Type

NAME

Name

OWNE

Owner name/ref

LOCK

Lock flag

POS

Position

ORI

Orientation

SPRE

Spec ref

LSTU

Tube ref

CREF

Connection ref

ARRI

Arrive PPoint

LEAV

Leave PPoint

ANGL

Angle

HEIG

Height

RADI

Radius

BUIL

Built flag

SHOP

Shop flag

ORIL

Orientation flag

POSI

Position flag

LOFF

Offline flag

ISPE

Insulation spec

TSPE

Tracing spec

ID3ERR

Error code

SUBROUTINE D3QELB( ID3DIS, TYPE, NAME, OWNE, LOCK, POS, ORI, SPRE, LSTU, CREF, ARRI, LEAV, ANGL, RADI, BUIL, SHOP, ORIL, POSI, ISPE, TSPE, ID3ERR )

INTEGER

ID3DIS, ARRI, LEAV, ID3ERR

LOGICAL

LOCK, SHOP, BUIL, ORIL, POSI

CHARACTER*(*)

TYPE, NAME, OWNE, SPRE, LSTU, CREF, ISPE, TSPE

REAL

POS(3), ORI(3), RADI, ANGL

Performs the equivalent of a Q ATT for an ELBO.

Calls D3RNAM, D3XLEN, D3QCPA, D3RREA, D3EMSG, D3ERST

ID3DIS

Display flag

TYPE

Type

NAME

Name

OWNE

Owner name/ref

LOCK

Lock flag

POS

Position

ORI

Orientation

SPRE

Spec ref

LSTU

Tube ref

CREF

Connection ref

ARRI

Arrive PPoint

LEAV

Leave PPoint

ANGL

Angle

RADI

Radius

BUIL

Built flag

SHOP

Shop flag

ORIL

Orientation flag

POSI

Position flag

ISPE

Insulation spec

TSPE

Tracing spec

ID3ERR

Error code

SUBROUTINE D3QCPA( ID3DIS, TYPE, NAME, OWNE, LOCK, POS, ORI, SPRE, LSTU, ARRI, LEAV, BUIL, SHOP, ORIL, POSI, ISPE, TSPE, ID3ERR )

INTEGER

ID3DIS, ARRI, LEAV, ID3ERR

LOGICAL

LOCK, BUIL, SHOP, ORIL, POSI

CHARACTER*(*)

TYPE, NAME, OWNE, SPRE, LSTU, ISPE, TSPE

REAL

POS(3), ORI(3)

Performs the equivalent of a Q ATT for the current element for the attributes common to piping components.

Calls D3QCMA, D3RRA, D3RNAM, D3RINT, D3RLOG, D3XLEN, D3EMSG, D3ERST

Called by D3QELB, D3QTEE

Arguments: as defined in D3QELB, D3QTEE

SUBROUTINE D3QEQU( ID3DIS, TYPE, NAME, OWNE, LOCK, FUNC, DSCO, PTSP, INSC, POS, ORI, ISPE, ID3ERR )

INTEGER

ID3DIS, ID3ERR

LOGICAL

LOCK

CHARACTER*(*)

TYPE, NAME, OWNE, FUNC, DSCO, PTSP, INSC, ISPE

REAL

POS(3), ORI(3)

Performs the equivalent of a Q ATT for an EQUI.

Calls D3RNAM, D3XLEN, D3QCMA, D3RTEX, D3RRA, D3EMSG

ID3DIS

Display flag

TYPE

Type

NAME

Name

OWNE

Owner name/ref

LOCK

Lock flag

FUNC

Function

DSCO

Design code

PTSP

Paint spec

INSC

Inspection schedule

POS

Position

ORI

Orientation

ISPE

Insulation schedule

ID3ERR

Error code

SUBROUTINE D3QNOZ( ID3DIS, TYPE, NAME, OWNE, LOCK, TEMP, PRES, POS, ORI, CREF, CATR, ANGL, HEIG, RADI, DUTY, ISPE, ID3ERR )

INTEGER

ID3DIS, ID3ERR

LOGICAL

LOCK

CHARACTER*(*)

TYPE, NAME, OWNE, CREF, CATR, DUTY, ISPE

REAL

POS(3), ORI(3), TEMP, PRES, HEIG, ANGL, RADI

Performs the equivalent of a Q ATT for a NOZZ.

Calls D3RNAM, D3XLEN, D3QCMA, D3RREA, D3RRA, D3RTEX, D3EMSG

ID3DIS

Display flag

TYPE

Type

NAME

Name

OWNE

Owner name/ref

LOCK

Lock flag

TEMP

Temperature

PRES

Pressure

POS

Position

ORI

Orientation

CREF

Connection ref

CATR

Catalogue ref

ANGL

Angle

HEIG

Height

RADI

Radius

DUTY

Duty

ISPE

Insulation spec

ID3ERR

Error code

SUBROUTINE D3QBOX( ID3DIS, TYPE, NAME, OWNE, LOCK, XLEN, YLEN, ZLEN, POS, ORI, LEVE, OBST, ID3ERR )

INTEGER

ID3DIS, LEVE(2), OBST, ID3ERR

LOGICAL

LOCK

CHARACTER*(*)

TYPE, NAME, OWNE

REAL

POS(3), ORI(3), XLEN, YLEN, ZLEN

Performs the equivalent of a Q ATT for a BOX.

Calls D3RNAM, D3XLEN, D3QCMA, D3RREA, D3RRA, D3RIA, D3RINT, D3EMSG

ID3DIS

Display flag

TYPE

Type

NAME

Name

OWNE

Owner name/ref

LOCK

Lock flag

XLEN

X length

YLEN

Y length

ZLEN

Z length

POS

Position

ORI

Orientation

LEVE

Drawing level

OBST

Obstruction level

ID3ERR

Error code

SUBROUTINE D3QCAT( ID3DIS, TYPE, NAME, OWNE, LOCK, ID3ERR )

INTEGER

ID3DIS, ID3ERR

LOGICAL

LOCK

CHARACTER*(*)

TYPE, NAME, OWNE

Performs the equivalent of a Q ATT for an CATA.

Calls D3RNAM, D3XLEN, D3QCMA, D3EMSG

ID3DIS

Display flag

TYPE

Type

NAME

Name

OWNE

Owner name/ref

LOCK

Lock flag

ID3ERR

Error code

SUBROUTINE D3QSEC( ID3DIS, TYPE, NAME, OWNE, LOCK, ID3ERR )

INTEGER

ID3DIS, ID3ERR

LOGICAL

LOCK

CHARACTER*(*)

TYPE, NAME, OWNE

Performs the equivalent of a Q ATT for an SECT.

Calls D3RNAM, D3XLEN, D3QCMA, D3EMSG

ID3DIS

Display flag

TYPE

Type

NAME

Name

OWNE

Owner name/ref

LOCK

Lock flag

ID3ERR

Error code

SUBROUTINE D3QCOM( ID3DIS, TYPE, NAME, OWNE, LOCK, GTYP, PTRE, GMRE, ID3NIN, PARA, PARWOR, ID3NOU, ID3ERR )

INTEGER ID3DIS, ID3NIN, ID3NOU, ID3ERR

LOGICAL

LOCK

CHARACTER*(*)

TYPE, NAME, OWNE, GTYP, PTRE, GMRE

CHARACTER*(*)

PARWOR(ID3NIN)

REAL

PARA(ID3NIN)

Performs the equivalent of a Q ATT for a SCOMP

Calls D3RNAM, D3XLEN, D3QCMA, D3RWOR, D3RRA, D3UDEH, D3EMSG, D3ERST

ID3DIS

Display flag

ID3NIN

Max number of elements for PARA array

TYPE

Type

NAME

Name

OWNE

Owner name/ref

LOCK

Lock flag

GTYP

Generic type

PTRE

Point set ref

GMRE

Geometry set ref

PARA

Parameters array

PARWOR

Array of dehashed word parameters

ID3NOU

Number of elements returned in PARA array

ID3ERR

Error code

SUBROUTINE D3QUNI( ID3DIS, TYPE, NAME, OWNE, LOCK, BUNI, DUNI, DFUN, ID3ERR )

INTEGER

ID3DIS, ID3ERR

LOGICAL

LOCK

CHARACTER*(*)

TYPE, NAME, OWNE, BUNI, DUNI, DFUN

Performs the equivalent of a Q ATT for a UNIT.

Calls D3RNAM, D3XLEN, D3QCMA, D3RWOR, D3EMSG, D3ERST

ID3DIS

Display flag

TYPE

Type

NAME

Name

OWNE

Owner name/ref

LOCK

Lock flag

BUNI

Bore units

DUNI

Distance units

DFUN

Defined units

ID3ERR

Error code

SUBROUTINE D3QUSE( ID3DIS, TYPE, NAME, OWNE, LOCK, ID3ERR )

INTEGER

ID3DIS, ID3ERR

LOGICAL

LOCK

CHARACTER*(*)

TYPE, NAME, OWNE

Performs the equivalent of a Q ATT for an USEC.

Calls D3RNAM, D3XLEN, D3QCMA, D3EMSG

ID3DIS

Display flag

TYPE

Type

NAME

Name

OWNE

Owner name/ref

LOCK

Lock flag

ID3ERR

Error code

SUBROUTINE D3QUDE( ID3DIS, TYPE, NAME, OWNE, LOCK, ABRE, ADEN, MULT, SIGF, DECP, ID3ERR )

INTEGER

ID3DIS, SIGF, DECP, ID3ERR

LOGICAL

LOCK

CHARACTER*(*)

TYPE, NAME, OWNE, ABRE

REAL ADEN, MULT

Performs the equivalent of a Q ATT for a UDEF.

Calls D3RNAM, D3XLEN, D3QCMA, D3RTEX, D3RREA, D3RINT, D3EMSG

ID3DIS

Display flag

TYPE

Type

NAME

Name

OWNE

Owner name/ref

LOCK

Lock flag

ABRE

Abbreviation

ADEN

Adend

MULT

Multiplier

SIGF

Significant figures

DECP

Decimal places

ID3ERR

Error code

SUBROUTINE D3QMSE( ID3DIS, TYPE, NAME, OWNE, LOCK, ID3ERR )

INTEGER

ID3DIS, ID3ERR

LOGICAL

LOCK

CHARACTER*(*)

TYPE, NAME, OWNE

Performs the equivalent of a Q ATT for an MSET.

Calls D3RNAM, D3XLEN, D3QCMA, D3EMSG

ID3DIS

Display flag

TYPE

Type

NAME

Name

OWNE

Owner name/ref

LOCK

Lock flag

ID3ERR

Error code

SUBROUTINE D3QMTY( ID3DIS, TYPE, NAME, OWNE, LOCK, UREF, ID3ERR )

INTEGER

ID3DIS, ID3ERR

LOGICAL

LOCK

CHARACTER*(*)

TYPE, NAME, OWNE, UREF

Performs the equivalent of a Q ATT for an MTYP.

Calls D3RNAM, D3XLEN, D3QCMA, D3EMSG, D3ERST

ID3DIS

Display flag

TYPE

Type

NAME

Name

OWNE

Owner name/ref

LOCK

Lock flag

UREF

Units reference

ID3ERR

Error code

SUBROUTINE D3QATL( ID3DIS, TYPE, NAME, OWNE, LOCK, ATNA, ID3ERR )

INTEGER

ID3DIS, ID3ERR

LOGICAL

LOCK

CHARACTER*(*)

TYPE, NAME, OWNE, ATNA

Performs the equivalent of a Q ATT for an ATLI.

Calls D3RNAM, D3XLEN, D3QCMA, D3RWOR, D3EMSG, D3ERST

D3DIS

Display flag

TYPE

Type

NAME

Name

OWNE

Owner name/ref

LOCK

Lock flag

ATNA

Atname

ID3ERR

Error code

ISUBROUTINE D3QSPW( ID3DIS, TYPE, NAME, OWNE, LOCK, ID3ERR )

INTEGER

ID3DIS, ID3ERR

LOGICAL

LOCK

CHARACTER*(*)

TYPE, NAME, OWNE

Performs the equivalent of a Q ATT for an SPWL.

Calls D3RNAM, D3XLEN, D3QCMA, D3EMSG

ID3DIS

Display flag

TYPE

Type

NAME

Name

OWNE

Owner name/ref

LOCK

Lock flag

ID3ERR

Error code

SUBROUTINE D3QSPE( ID3DIS, TYPE, NAME, OWNE, LOCK, QUAL, QUES, DEFA, TDEFA, MATR, FLUR, RATI, LNTP, ID3ERR )

INTEGER

ID3DIS, QUAL, ID3ERR

LOGICAL

LOCK

CHARACTER*(*)

TYPE, NAME, OWNE, QUES, TDEFA, MATR, FLUR, LNTP

REAL RATI. DEFA

Performs the equivalent of a Q ATT for a SPEC.

Calls D3RNAM, D3XLEN, D3QCMA, D3RINT, D3RWOR, D3RREA, D3EMSG, D3ERST, D3RTEX

ID3DIS

Display flag

TYPE

Type

NAME

Name

OWNE

Owner name/ref

LOCK

Lock flag

QUAL

Quality

QUES

Question

DEFA

Default

TDEFA

Text default

MATR

Material ref

FLUR

Fluid ref

RATI

Pressure rating

LNTP

Line type

ID3ERR

Error code

SUBROUTINE D3QSEL( ID3DIS, TYPE, NAME, OWNE, LOCK, QUAL, QUES, ANSW, TANSW, MAXA, DEFA, TDEFA, ID3ERR )

INTEGER

ID3DIS, QUAL, ID3ERR

LOGICAL

LOCK

CHARACTER*(*)

TYPE, NAME, OWNE, QUES, TANSW, TDEFA

REAL

ANSW, MAXA, DEFA

Performs the equivalent of a Q ATT for a SELE.

Calls D3RNAM, D3XLEN, D3QCMA, D3RINT, D3RWOR, D3EMSG, D3RREA, D3ERST, D3RTEX

ID3DIS

Display flag

TYPE

Type

NAME

Name

OWNE

Owner name/ref

LOCK

Lock flag

QUAL

Quality

QUES

Question

ANSW

Answer

TANSW

Text answer

MAXA

Maxan

DEFA

Default

TDEFA

Text default

ID3ERR

Error code

SUBROUTINE D3QSPC( ID3DIS, TYPE, NAME, OWNE, LOCK, ANSW, MAXA, TANSW, CATR, CMPR, BLTR, DETR, MATX, ID3ERR )

INTEGER

ID3DIS, ID3ERR

LOGICAL

LOCK

CHARACTER*(*)

TYPE, NAME, OWNE, TANSW, CATR, CMPR, BLTR, DETR

CHARACTER*(*)

MATX

REAL

ANSW, MAXA

Performs the equivalent of a Q ATT for a SPCO.

Calls D3RNAM, D3XLEN, D3QCMA, D3RREA, D3EMSG, D3ERST, D3RTEX

ID3DIS

Display flag

TYPE

Type

NAME

Name

OWNE

Owner name/ref

LOCK

Lock flag

ANSW

Answer

MAXA

Maxan

TANSW

Text answer

CATR

Catalogue ref

CMPR

Component ref

BLTR

Bolt ref

DETR

Detail text ref

MATX

Material text ref

ID3ERR

Error code

SUBROUTINE D3QCCT( ID3DIS, TYPE, NAME, OWNE, LOCK, ID3ERR )

INTEGER

ID3DIS, ID3ERR

LOGICAL

LOCK

CHARACTER*(*)

TYPE, NAME, OWNE

Performs the equivalent of a Q ATT for a CCTA.

Calls D3RNAM, D3XLEN, D3QCMA, D3EMSG

ID3DIS

Display flag

TYPE

Type

NAME

Name

OWNE

Owner name/ref

LOCK

Lock flag

ID3ERR

Error code

SUBROUTINE D3QCOC( ID3DIS, TYPE, NAME, OWNE, LOCK, CTYP, ID3ERR )

INTEGER

ID3DIS, ID3ERR

LOGICAL

LOCK

CHARACTER*(*)

TYPE, NAME, OWNE, CTYP(2)

Performs the equivalent of a Q ATT for a COCO.

Calls D3RNAM, D3XLEN, D3QCMA, D3RWA, D3EMSG

ID3DIS

Display flag

TYPE

Type

NAME

Name

OWNE

Owner name/ref

LOCK

Lock flag

CTYP

Connection type array

ID3ERR

Error code

SUBROUTINE D3QTUB( ID3DIS, TYPE, NAME, OWNE, LOCK, OUTD, ACBO, BTOL, WTOL, UWEI, UIWE, WDIA, SHAP, RINE, SIF, PRFC, SDTH, CORA, EFAC, PWAS, BFLE, MRKR, ID3ERR )

INTEGER

ID3DIS, ID3ERR

LOGICAL

LOCK

CHARACTER*(*)

TYPE, NAME, OWNE, MRKR

REAL

OUTD, ACBO, BTOL, WTOL, WDIA, SHAP, RINE(3)

REAL

SIF(3), PRFC, SDTH(3), CORA, EFAC, PWAS, BFLE

REAL

UWEI, UIWE

Performs the equivalent of a Q ATT for a TUBD.

Calls D3RNAM, D3XLEN, D3QCDA, D3RREA, D3EMSG

ID3DIS

Display flag

TYPE

Type

NAME

Name

OWNE

Owner name/ref

LOCK

Lock flag

OUTD

Outside diameter

ACBO

Actual bore

BTOL

Bore tolerance

WTOL

Wall thickness tolerance

UWEI

Unit pipe weight

UIWE

Unit insulation weight

WDIA

Wind diameter modulus

SHAP

Shape modulus

RINE

Rotational inertia

SIF

Stress intensity factor

PRFC

Pressure factor

SDTH

Saddle thickness

CORA

Corrosion thickness

EFAC

E-factor

PWAS

Percentage waste factor

BFLE

Out of plane flexibility factor for bends

MRKR

3 way component marker

ID3ERR

Error code

SUBROUTINE D3QCMP( ID3DIS, TYPE, NAME, OWNE, LOCK, OUTD, ACBO, BTOL, WTOL, CWEI, CIWE, WDIA, SHAP, RINE, SIF, PRFC, SDTH, CORA, EFAC, PWAS, BFLE, DFFL, DMFL, RMFL, MRKR, ID3ERR )

INTEGER

ID3DIS, ID3ERR

LOGICAL

LOCK

CHARACTER*(*)

TYPE, NAME, OWNE, MRKR

REAL

OUTD, ACBO, BTOL, WTOL, WDIA, SHAP, RINE(3), SIF(3), PRFC

REAL

SDTH(3), CORA, EFAC, PWAS, BFLE, CWEI, CIWE, DFFL(6)

REAL

DMFL(9), RMFL(6)

Performs the equivalent of a Q ATT for a CMPD.

Calls D3RNAM, D3XLEN, D3QCDA, D3RREA, D3RRA, D3EMSG

ID3DIS

Display flag

TYPE

Type

NAME

Name

OWNE

Owner name/ref

LOCK

Lock flag

OUTD

Outside diameter

ACBO

Actual bore

BTOL

Bore tolerance

WTOL

Wall thickness tolerance

CWEI

Total component weight

CIWE

Total insulation weight

WDIA

Wind diameter modulus

SHAP

Shape modulus

RINE

Rotational inertia

SIF

Stress intensity factor

PRFC

Pressure factor

SDTH

Saddle thickness

CORA

Corrosion thickness

EFAC

E-factor

PWAS

Percentage waste factor

BFLE

Out of plane flexibility factor for bends

Next three are parts of flexibility matrix for component

DFFL

Displacement force

DMFL

Displacement moment

RMFL

Rotation moment

MRKR

3 way component marker

ID3ERR

Error code

SUBROUTINE D3QCDA( ID3DIS, TYPE, NAME, OWNE, LOCK, OUTD, ACBO, BTOL, WTOL, WDIA, SHAP, RINE, SIF, PRFC, SDTH, CORA, EFAC, PWAS, BFLE, MRKR, ID3ERR )

INTEGER

ID3DIS, ID3ERR

LOGICAL

LOCK

CHARACTER*(*)

TYPE, NAME, OWNE, MRKR

REAL

OUTD, ACBO, BTOL, WTOL, WDIA, SHAP, RINE(3)

REAL

SIF(3), PRFC, SDTH(3), CORA, EFAC, PWAS, BFLE

Performs the equivalent of a Q ATT for the attributes common to TUBD and CMPD.

Calls D3QCMA, D3RREA, D3RRA, D3RWOR, D3XLEN, D3EMSG, D3ERST

Called by D3QCMP D3QTUB

Arguments: as defined in D3QCMP, D3QTUB

SUBROUTINE D3QCON ( ID3DIS, TYPE, NAME, OWNE, LOCK, APPL, FORC, MOME, DISP, ROTN, DLIM, RLIM, FLIM, MLIM, DFLF, RFLF, FCOE, CPUL, CPUT, ID3ERR )

INTEGER

ID3DIS, ID3ERR

LOGICAL

LOCK

CHARACTER*(*)

TYPE, NAME, OWNE, APPL

REAL

FORC(3), MOME(3), DISP(3), ROTN(3), DLIM(6)

REAL

RLIM(6), FLIM(3), MLIM(3), DFLF(3), RFLF(3)

REAL

FCOE(3), CPUL(3), CPUT(3)

Performs the equivalent of a Q ATT for a CONS.

Calls D3RNAM, D3XLEN, D3QCMA, D3RTEX, D3RRA, D3EMSG

ID3DIS

Display flag

TYPE

Type

NAME

Name

OWNE

Owner name/ref

LOCK

Lock flag

APPL

Application

FORC

Force

MOME

Moment

DISP

Displacement

ROTN

Rotation

DLIM

Displacement limits

RLIM

Rotation limits

FLIM

Force limits

MLIM

Moment limits

DFLF

Linear flexibility factors

RFLF

Rotational flexibility factors

FCOE

Friction coefficient

CPUL

Cold pull

CPUT

Cold twist

ID3ERR

Error code

SUBROUTINE D3QUDA( ID3DIS, TYPE, NAME, OWNE, LOCK, UKEY, UDNA, ABLE, UTYP, ULEN, DFLT, RPTX, DESC, UUNI, ELEL, MAXE, OUTE, REFL, MAXR, OUTR, ID3ERR )

INTEGER

ID3DIS, ID3ERR, UKEY, ABLE, ULEN, MAXE, OUTE

INTEGER

MAXR, OUTR

LOGICAL

LOCK

CHARACTER*(*)

TYPE, NAME, OWNE, UDNA, UTYP, DFLT, RPTX, DESC

CHARACTER*(*)

UUNI, ELEL(MAXE), REFL(MAXR)

Performs the equivalent of a Q ATT for a UDA in the dictionary database.

Calls D3RNAM, D3XLEN, D3QCMA, D3RINT, D3EMSG, D3RTEX, D3RWOR, D3RWA, D3ERST

ID3DIS

Display flag

MAXE

Size of ELEL array

MAXR

Size of REFL array

TYPE

Type

NAME

Name

OWNE

Owner name/ref

LOCK

Lock flag

UKEY

UDA key

UDNA

UDA name (without :)

ABLE

Min. abbrev. of UDNA

UTYP

UDA type

ULEN

No. of values if an array or maximum length if TEXT or WORD

DFLT

Default value as text

RPTX

REPORTER text

DESC

Description

UUNI

UNITs

ELEL

Element list

REFL

Reference list

OUTE

No. of elements returned in ELEL

OUTR

No. of elements returned in REFL

ID3ERR

Error code

INTEGER FUNCTION D3XLEN( CD3STR )

CHARACTER*(*)

CD3STR

Returns significant length of string. That is, length after removing trailing blanks. Returns length of 1 for a blank string, ' '.

Identical to DARs routine D3ULEN, except for treatment of blank string.

For use in the construction STRING(:D3XLEN(STRING)) to avoid run-time error with some compilers when using D3ULEN and a blank string.

Calls D3ULEN

Called by most other auxiliary routines.

CD3STR

Character string

D3XLEN

Significant length of CD3STR (min 1)

TitleResults for “How to create a CRG?”Also Available in