Tpetra, and the Use of Generic Programming in Scientific Computing
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 scientifi...
Main Authors: | , |
---|---|
Format: | Article |
Language: | English |
Published: |
Hindawi Limited
2012-01-01
|
Series: | Scientific Programming |
Online Access: | http://dx.doi.org/10.3233/SPR-2012-0349 |
id |
doaj-aa1b54cc839743d08490cbd0c1b23ddf |
---|---|
record_format |
Article |
spelling |
doaj-aa1b54cc839743d08490cbd0c1b23ddf2021-07-02T09:26:06ZengHindawi LimitedScientific Programming1058-92441875-919X2012-01-0120211512810.3233/SPR-2012-0349Tpetra, and the Use of Generic Programming in Scientific ComputingC.G. Baker0M.A. Heroux1Computational Engineering and Energy Science Group, Oak Ridge National Laboratory, Oak Ridge, TN, USADepartment of Scalable Algorithms, Sandia National Laboratories, Albuquerque, NM, USAWe 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.http://dx.doi.org/10.3233/SPR-2012-0349 |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
C.G. Baker M.A. Heroux |
spellingShingle |
C.G. Baker M.A. Heroux Tpetra, and the Use of Generic Programming in Scientific Computing Scientific Programming |
author_facet |
C.G. Baker M.A. Heroux |
author_sort |
C.G. Baker |
title |
Tpetra, and the Use of Generic Programming in Scientific Computing |
title_short |
Tpetra, and the Use of Generic Programming in Scientific Computing |
title_full |
Tpetra, and the Use of Generic Programming in Scientific Computing |
title_fullStr |
Tpetra, and the Use of Generic Programming in Scientific Computing |
title_full_unstemmed |
Tpetra, and the Use of Generic Programming in Scientific Computing |
title_sort |
tpetra, and the use of generic programming in scientific computing |
publisher |
Hindawi Limited |
series |
Scientific Programming |
issn |
1058-9244 1875-919X |
publishDate |
2012-01-01 |
description |
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. |
url |
http://dx.doi.org/10.3233/SPR-2012-0349 |
work_keys_str_mv |
AT cgbaker tpetraandtheuseofgenericprogramminginscientificcomputing AT maheroux tpetraandtheuseofgenericprogramminginscientificcomputing |
_version_ |
1721333215850921984 |