06.08.2013 Views

Abstract

Abstract

Abstract

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

APPENDIX B. TRILINOS 134<br />

Trilinos, the concrete implementation (the specific data type, linear solver, etc.) is<br />

left up to the user. Trilinos provides the user with the option of concrete implemen-<br />

tations that are inherited from the abstract implementations, but, for example, if<br />

the user has spent time and effort in creating his own highly efficient linear solver,<br />

the user can still make use of all the parts of Trilinos without being forced to use<br />

Trilinos’s linear solvers.<br />

B.3 Trilinos Packages<br />

B.3.1 Epetra<br />

Epetra is a data structure used by other Trilinos software packages. While each<br />

package has an abstract implementation of the numerical algorithms, these algorithms<br />

have concrete implementations in an Epetra environment. Some examples of Epetra<br />

objects are vectors and matrices. Epetra can be (and is) used in a distributed memory<br />

environment as well. For example, if a Epetra vector is spread across several processor,<br />

the object knows how many element each processor owns and where each element is<br />

in memory. Epetra is also used for communication among processors, where a user<br />

can use Epetra commands to export and import data from each processor.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!