Tpetra, and the use of generic programming in scientific computing

  • Authors:
  • C. G. Baker;M. A. Heroux

  • Affiliations:
  • Computational Engineering and Energy Science Group, Oak Ridge National Laboratory, Oak Ridge, TN, USA. E-mail: bakercg@ornl.gov;Department of Scalable Algorithms, Sandia National Laboratories, Albuquerque, NM, USA. E-mail: maherou@sandia.gov

  • Venue:
  • Scientific Programming - A New Overview of the Trilinos Project --Part 1
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present Tpetra, a Trilinos package for parallel linear algebra primitives implementing the Petra object model. We describe Tpetra's design, based on generic programming via C++ templated types and template metaprogramming. We discuss some benefits of this approach in the context of scientific computing, with illustrations consisting of code and notable empirical results.