Welcome to the Thyra Home
The Thyra package contains a set of interfaces and supporting code that defines basic interoperability mechanisms between different types of abstract numerical algorithm (ANA) software. The foundations for all Thyra interfaces are the mathematical concepts of vectors, vector spaces, and linear operators. All other ANA interfaces and support software are built on these fundamental operator/vector interfaces.
The following document describes the basic ideas behind Thyra and provides an overview of the operator/vector interfaces:
- Bartlett, Roscoe. Thyra Linear Operators and Vectors: Overview of Interfaces and Support Software for the Development and Interoperability of Abstract Numerical Algorithms. SAND2007-5984, Sandia National Laboratories, 2007 [PDF]
The primary Thyra ANA interfaces are broadly layered as followed:
- Operator/vector interfaces
- Operator solve interfaces
- Nonlinear Interfaces
A few important points about Thyra interfaces are:
- All interfaces are expressed as abstract C++ base classes (i.e. object-oriented)
- All interfaces are templated on a Scalar data type (i.e. generic)
- All memory management is performed using Teuchos memory management classes involving no raw C++ pointers (see below)
For each of these sets of interfaces, the Thyra package also a set of general adapter and general support software. See the Thyra package documentation for more details.
There are several Trilinos packages that implement ANAs, and/or can accept input as ANA object, and/or can provide implementations of ANA objects for other ANAs to use. Information related to Thyra and ANAs can be found below:
Thyra Coding and Documentation Guidelines
- Bartlett, Roscoe. Thyra Coding and Documentation Guidelines (TCDG). Sandia National Laboratories [PDF]