Skip to main content
SHARE
Publication

Tpetra, and the use of generic programming in scientific computing...

by Christopher G Baker, Michael Heroux
Publication Type
Journal
Journal Name
Scientific Programming
Publication Date
Page Numbers
1 to 128
Volume
20
Issue
2

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.