Skip to content

[WIP] Tpetra algebra#6910

Open
gassmoeller wants to merge 3 commits intogeodynamics:mainfrom
gassmoeller:tpetra_algebra
Open

[WIP] Tpetra algebra#6910
gassmoeller wants to merge 3 commits intogeodynamics:mainfrom
gassmoeller:tpetra_algebra

Conversation

@gassmoeller
Copy link
Member

A first stab at using Tpetra to do the linear algebra inside of ASPECT. It compiles and it can run (some) models in serial, however there are still a lot of limitations and bugs.

Before this is finalized I will introduce a cmake variable to switch between Epetra/Tpetra depending on deal.II availability.

This currently requires a custom deal.II version with dealii/dealii#19403.

I mostly open this PR to track the progress with improvements in deal.II and to document the missing features that currently require changes to ASPECT in order to use Tpetra classes.

*/
LinearAlgebra::BlockSparseMatrix system_matrix;

LinearAlgebra::BlockSparsityPattern sp;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does tpetra no longer store the sparsity pattern?

#include <aspect/material_model/rheology/constant_viscosity.h>

#include <deal.II/base/signaling_nan.h>
#include <deal.II/base/parameter_handler.h>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why these changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants