skip to main content
OSTI.GOV title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: Vectors a Fortran 90 module for 3-dimensional vector and dyadic arithmetic

Technical Report ·
DOI:https://doi.org/10.2172/576121· OSTI ID:576121

A major advance contained in the new Fortran 90 language standard is the ability to define new data types and the operators associated with them. Writing computer code to implement computations with real and complex three-dimensional vectors and dyadics is greatly simplified if the equations can be implemented directly, without the need to code the vector arithmetic explicitly. The Fortran 90 module described here defines new data types for real and complex 3-dimensional vectors and dyadics, along with the common operations needed to work with these objects. Routines to allow convenient initialization and output of the new types are also included. In keeping with the philosophy of data abstraction, the details of the implementation of the data types are maintained private, and the functions and operators are made generic to simplify the combining of real, complex, single- and double-precision vectors and dyadics.

Research Organization:
Sandia National Lab. (SNL-NM), Albuquerque, NM (United States)
Sponsoring Organization:
USDOE, Washington, DC (United States)
DOE Contract Number:
AC04-94AL85000
OSTI ID:
576121
Report Number(s):
SAND-96-2775; ON: DE98002825; TRN: 98:001479
Resource Relation:
Other Information: PBD: Feb 1998
Country of Publication:
United States
Language:
English

Similar Records

VECTORS. Fortran 90 Source Module
Technical Report · Thu Aug 01 00:00:00 EDT 1996 · OSTI ID:576121

Fortran 90 Source Module
Software · Tue Jan 13 00:00:00 EST 1998 · OSTI ID:576121

A Fortran-90 Based Multiprecision System
Software · Wed Dec 01 00:00:00 EST 2004 · OSTI ID:576121