z-logo
open-access-imgOpen Access
Tpetra, and the Use of Generic Programming in Scientific Computing
Author(s) -
Christopher G. Baker,
Michael A. Heroux
Publication year - 2012
Publication title -
scientific programming
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.269
H-Index - 36
eISSN - 1875-919X
pISSN - 1058-9244
DOI - 10.1155/2012/693861
Subject(s) - metaprogramming , computer science , programming language , context (archaeology) , generic programming , code (set theory) , programming paradigm , theoretical computer science , paleontology , set (abstract data type) , biology
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.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here
Accelerating Research

Address

John Eccles House
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom