Download Programmer`s Manual for Mechanical APDL application
Transcript
Chapter 8: Subroutines for Users' Convenience This chapter describes ANSYS routines available to you for use in programming. Using these routines isn't required, but may make your life easier. These routines include a set of general routines that perform utilitytype functions, a set of routines supporting vector functions, a set of routines supporting matrix functions, and routines supporting message processing options. The following topics are discussed in this chapter: 8.1. Input and Output Abbreviations 8.2. General Subroutines 8.3. Vector Functions 8.4. Matrix Subroutines 8.1. Input and Output Abbreviations The descriptions of inputs and outputs for the routines discussed in this chapter use the following abbreviations: • Argument type is one of the following: int - integer dp - double precision log - logical chr - character dcp - double precision complex • Argument size is one of the following: sc - scalar variable ar(n) - array variable of length n func - functional return value • Argument intent is one of the following: in - input argument out - output argument inout - both an input and an output argument 8.2. General Subroutines 8.2.1. dptoch Subroutine (Retrieve Eight Characters From a Double Precision Variable) *deck,dptoch subroutine dptoch (dp8,ch8) c *** primary function: retreive 8 characters from a dp variable c *** Notice - This file contains ANSYS Confidential information *** Release 12.0 - © 2009 SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates. 285