[Trilinos-Users] epetra_fecrsmatrix_static_profile

Heroux, Michael A maherou at sandia.gov
Mon Aug 12 23:51:35 EDT 2019


Jiri,

Perhaps the best thing to do is to try a simple example and see if you can get it to work.    The behavior might be as you want it, but it is not a use case I have experience with.

Mike

On Aug 6, 2019, at 8:33 AM, Blahos, Jiri <j.blahos at imperial.ac.uk<mailto:j.blahos at imperial.ac.uk>> wrote:

Hi Mike,

I am not sure what you mean. I thought since fecrsmatrix inherits from crsmatrix, it would support everything that the crsmatrix does. By matrix constructed, you mean after GlobalAssemble is called? Does it mean that there are disadvantages to using fecrsmatrix over crsmatrix (in terms of construction or memory efficiency)? I thought they both offer the same and fe version only adds support for adding values to non-local rows. Is that not a right perception?

Jiří

From: Heroux, Michael A <maherou at sandia.gov<mailto:maherou at sandia.gov>>
Sent: 06 August 2019 14:07
To: Blahos, Jiri <j.blahos at imperial.ac.uk<mailto:j.blahos at imperial.ac.uk>>; trilinos-users at trilinos.org<mailto:trilinos-users at trilinos.org>
Subject: Re: [Trilinos-Users] epetra_fecrsmatrix_static_profile

The Epetra_FECrsMatrix class does not support a static graph.  Once a matrix is constructed, you can replace values.  This might be an alternative for you.

Mike

From: Trilinos-Users <trilinos-users-bounces at trilinos.org<mailto:trilinos-users-bounces at trilinos.org>> on behalf of "Blahos, Jiri" <j.blahos at imperial.ac.uk<mailto:j.blahos at imperial.ac.uk>>
Date: Tuesday, August 6, 2019 at 7:55 AM
To: Trilinos Users <trilinos-users at trilinos.org<mailto:trilinos-users at trilinos.org>>
Subject: [EXTERNAL] [Trilinos-Users] epetra_fecrsmatrix_static_profile

Hello,

is there a way to construct an epetra_fecrsmatrix with static profile? Epetra_crsmatrix has a flag for this in its constructor, but it seems that the fematrix that inherits from it ignores this flag (i.e. constructs the base crsmatrix with the default value which is false).

Best regards,
Jiří

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20190813/76ef0e27/attachment.html>


More information about the Trilinos-Users mailing list