[petsc-users] Suggestions for code with dof >> 1 ?

Christophe Ortiz christophe.ortiz at ciemat.es
Mon Oct 7 14:51:35 CDT 2013


On Mon, Oct 7, 2013 at 6:14 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:

> Christophe Ortiz <christophe.ortiz at ciemat.es> writes:
> > I want to solve a 1D problem composed of several diffusion equations and
> a
> > lot of ODEs (thousands).
> >
> > - After discretization, the diffusion equations have terms in i-1, i and
> > i+1.
> >
> > - The diffusion equations have additional terms due to couping with all
> the
> > ODEs. These terms are non-linear.
> >
> > - The terms of the ODEs are local (only depend on node i) but are
> > non-linear.
>
>
Hi Jed,

I am not sure to understand what you mean. What do you mean by modules able
to register additional variables ?

Christophe


> How do you want to extend your code?  Is it acceptable to have a
> centralized struct where you place all variables, or should separate
> modules be able to "register" additional variables?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20131007/83cb815c/attachment.html>


More information about the petsc-users mailing list