user define linear algebra backend

Asked by Feiteng

Hi all, I want to make my linear solver(c code) work with dolfin, what should I do? any suggestion is appreciated, thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
DOLFIN Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Johan Hake (johan-hake) said :
#1

Either interface your library with one of the existing la backends, I
guess that is easiest for the stl and ublas backends as the data is the
most transparent here or implement your own backed. Have a look at the
implementation of the existing backed for hints.

Johan
On Oct 26, 2012 3:01 PM, "Feiteng" <email address hidden>
wrote:

> New question #212457 on DOLFIN:
> https://answers.launchpad.net/dolfin/+question/212457
>
> Hi all, I want to make my linear solver(c code) work with dolfin, what
> should I do? any suggestion is appreciated, thanks.
>
> --
> You received this question notification because you are a member of
> DOLFIN Team, which is an answer contact for DOLFIN.
>

Revision history for this message
Feiteng (hftenger) said :
#2

Thanks. I'll try to do that.

Revision history for this message
Kent-Andre Mardal (kent-and) said :
#3

GenericVector, GenericMatrix, and GenericTensor define the interface.

Kent

On 27 October 2012 00:01, Feiteng <email address hidden>wrote:

> New question #212457 on DOLFIN:
> https://answers.launchpad.net/dolfin/+question/212457
>
> Hi all, I want to make my linear solver(c code) work with dolfin, what
> should I do? any suggestion is appreciated, thanks.
>
> --
> You received this question notification because you are a member of
> DOLFIN Team, which is an answer contact for DOLFIN.
>

Revision history for this message
Feiteng (hftenger) said :
#4

ok, thanks.

Can you help with this problem?

Provide an answer of your own, or ask Feiteng for more information if necessary.

To post a message you must log in.