[petsc-users] Suggestions for code with dof >> 1 ?
Jed Brown
jedbrown at mcs.anl.gov
Mon Oct 7 11:14:09 CDT 2013
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.
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 --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20131007/6fc43a9b/attachment.pgp>
More information about the petsc-users
mailing list