[petsc-dev] Setup subsnes in nasm.c
Lulu Liu
lulu.liu at kaust.edu.sa
Fri May 27 10:39:03 CDT 2016
I am trying to solve a nonlinear problem using NASM, and see the code in
petsc/src/snes/impls/nasm/nasm.c. However, I feel confused about how
subsnes for each subdomain gets its own function, and I can not find
anything like SNESSetFunction(subsnes,......). Could you show me which line
subsnes gets its own function in nasm.c?
In addition, I would like to set up something using
SNESNASMSetSubdomains_NASM (). Is there any example showing how to set
subsnes, iscatter, oscatter,gscatter? Thanks!
PetscErrorCode SNESNASMSetSubdomains_NASM(SNES snes,PetscInt n,SNES
subsnes[],VecScatter iscatter[],VecScatter oscatter[],VecScatter gscatter[])
--
------------------------------
This message and its contents, including attachments are intended solely
for the original recipient. If you are not the intended recipient or have
received this message in error, please notify me immediately and delete
this message from your computer system. Any unauthorized use or
distribution is prohibited. Please consider the environment before printing
this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20160527/2600585f/attachment.html>
More information about the petsc-dev
mailing list