[petsc-dev] PetscFV
Adrian Croucher
a.croucher at auckland.ac.nz
Wed May 15 00:48:42 CDT 2019
Further to this, I think I'm a bit confused about using PetscFV to set
up the data layout (as seems to be done in the TS ex11 example), vs.
doing it by creating a section using DMPlexCreateSection() and then
DMSetSection().
If you do it using PetscFV, as in TS ex11, there seems to be no need to
create a section explicitly.
If you do it using by creating a section, is there still any need to set
up the PetscFV? I seem to recall trying taking the PetscFV stuff out of
my code and finding that it didn't work properly without it. It seems
PetscFV does some other things besides setting up a data layout, but if
so I am unclear as to what they are.
- Adrian
On 15/05/19 2:37 PM, Adrian Croucher wrote:
> hi
>
> I just tried upgrading from PETSc 3.10 to 3.11 and working my way
> through all the changes that have broken things in my code.
>
> I think I have most of them working again, except for the changes to
> PetscFV. Following the TS ex11 example I am now using DMAddField() and
> DMCreateDS().
>
> It looks like I am now supposed to use PetscFVSetComponentName() to
> set field component names. Unfortunately there does not appear to be a
> Fortran interface for this function yet?
>
> - Adrian
>
--
Dr Adrian Croucher
Senior Research Fellow
Department of Engineering Science
University of Auckland, New Zealand
email: a.croucher at auckland.ac.nz
tel: +64 (0)9 923 4611
More information about the petsc-dev
mailing list