Re: [petsc-users] PetscFEIntegrateBdResidual_Basic

2017-11-20 Thread David Fuentes
Sorry, If I call this AddBoundary Twice with different markers/ids, the bcFunc seems to be applied to set values for DM_BC_ESSENTIAL not DM_BC_NATURAL? Can I callierr = PetscDSSetBdResidual(prob, 0, f0_bd_u, f1_bd_zero) twice to set the f0 functions different for each boundary ? /*@C

Re: [petsc-users] DMPlexCreateFromDAG and orientation

2017-11-20 Thread Yann Jobic
Hi, Finally i used DMPlexCreateFromCellList, i don't know why i didn't try it first. I indeed create hex cells (so far). And it works ! Thanks for the help, Yann Le 20/11/2017 à 14:47, Matthew Knepley a écrit : On Sun, Nov 19, 2017 at 4:59 PM, Yann Jobic

Re: [petsc-users] Intel MKL

2017-11-20 Thread Jed Brown
Randall Mackie writes: > Dear PETSc team: > > On upgrading to version 3.8, we have discovered an inconsistency in the > python configuration scripts for using Intel MKL for BLAS/LAPACK. > It seems that these options were changed between 3.7 and 3.8: > > > Version 3.8: >

Re: [petsc-users] PetscFEIntegrateBdResidual_Basic

2017-11-20 Thread David Fuentes
Thanks! will give that a try! df On Mon, Nov 20, 2017 at 11:23 AM, Matthew Knepley wrote: > On Mon, Nov 20, 2017 at 12:20 PM, David Fuentes > wrote: > >> Thanks for the quick reply. Indeed it does work like this. I have added a >> location dependence on

Re: [petsc-users] PetscFEIntegrateBdResidual_Basic

2017-11-20 Thread Matthew Knepley
On Mon, Nov 20, 2017 at 12:20 PM, David Fuentes wrote: > Thanks for the quick reply. Indeed it does work like this. I have added a > location dependence on the boundary to differentiate the two. However, when > my mesh moves then the BC will be applied incorrectly. > I

Re: [petsc-users] PetscFEIntegrateBdResidual_Basic

2017-11-20 Thread David Fuentes
Thanks for the quick reply. Indeed it does work like this. I have added a location dependence on the boundary to differentiate the two. However, when my mesh moves then the BC will be applied incorrectly. *// PetscFEIntegrateBdResidual_Basic DMPlexComputeBdResidual_Internal* *static* *void**

Re: [petsc-users] Intel MKL

2017-11-20 Thread Satish Balay
On Mon, 20 Nov 2017, Randall Mackie wrote: > Dear PETSc team: > > On upgrading to version 3.8, we have discovered an inconsistency in the > python configuration scripts for using Intel MKL for BLAS/LAPACK. > It seems that these options were changed between 3.7 and 3.8: > > > Version 3.8: >

Re: [petsc-users] PetscFEIntegrateBdResidual_Basic

2017-11-20 Thread Matthew Knepley
On Mon, Nov 20, 2017 at 11:46 AM, David Fuentes wrote: > *Is there a way to pass the boundary set id to the function pointers for > the residual evaluation on the boundary ?* > >

[petsc-users] PetscFEIntegrateBdResidual_Basic

2017-11-20 Thread David Fuentes
*Is there a way to pass the boundary set id to the function pointers for the residual evaluation on the boundary ?* *https://bitbucket.org/petsc/petsc/src/d89bd21cf2b5366df29efb6006298d2bc22fb509/src/dm/dt/interface/dtfe.c?at=master=file-view-default#dtfe.c-4245

[petsc-users] Intel MKL

2017-11-20 Thread Randall Mackie
Dear PETSc team: On upgrading to version 3.8, we have discovered an inconsistency in the python configuration scripts for using Intel MKL for BLAS/LAPACK. It seems that these options were changed between 3.7 and 3.8: Version 3.8: --with-blaslapack-lib=libsunperf.a --with-blas-lib=libblas.a

Re: [petsc-users] DMPlexCreateFromDAG and orientation

2017-11-20 Thread Matthew Knepley
On Sun, Nov 19, 2017 at 4:59 PM, Yann Jobic wrote: > Hello, > > I want to create my custom DMPLEX by using DMPlexCreateFromDAG(). I tried > with only one cell. I have : > It looks like a hex cell. Here is how I order hex cells: