[petsc-dev] meaning of NUM_FIELDS in PetscFEM

Jed Brown jedbrown at mcs.anl.gov
Fri Nov 15 14:28:05 CST 2013

Geoffrey Irving <irving at naml.us> writes:

> To make sure I understand the code correctly: a single field can be
> vector-valued, right?  I.e., the position field for elasticity can be
> 1 field, corresponding to NUM_FIELDS = 1 in the various examples?  

Yeah, each field can have a number of "components".

> And in ex62, the two fields are pressure and velocity, the latter
> vector valued?

-------------- 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-dev/attachments/20131115/96fb4628/attachment.sig>

More information about the petsc-dev mailing list