...@jedbrown.org, Shri abhy...@mcs.anl.gov,
petsc-users@mcs.anl.gov petsc-users@mcs.anl.gov
Subject: Re: [petsc-users] DMPlex with spring elements
On Fri, Sep 26, 2014 at 10:26 AM, Miguel Angel Salazar de Troya
salazardetr...@gmail.com wrote:
Yeah, but doesn't it only work with the local vectors localX
From: Miguel Angel Salazar de Troya salazardetr...@gmail.com
Date: Mon, 29 Sep 2014 16:55:14 -0500
To: Shri abhy...@mcs.anl.gov
Cc: petsc-users@mcs.anl.gov petsc-users@mcs.anl.gov
Subject: Re: [petsc-users] DMPlex with spring elements
Hi all
I'm bumping this post because I have more
Knepley knep...@gmail.com
Date: Fri, 26 Sep 2014 10:28:26 -0500
To: Miguel Angel Salazar de Troya salazardetr...@gmail.com
Cc: Jed Brown j...@jedbrown.org, Shri abhy...@mcs.anl.gov,
petsc-users@mcs.anl.gov petsc-users@mcs.anl.gov
Subject: Re: [petsc-users] DMPlex with spring elements
, Shrirang G.
abhy...@mcs.anl.gov wrote:
From: Miguel Angel Salazar de Troya salazardetr...@gmail.com
Date: Mon, 29 Sep 2014 16:55:14 -0500
To: Shri abhy...@mcs.anl.gov
Cc: petsc-users@mcs.anl.gov petsc-users@mcs.anl.gov
Subject: Re: [petsc-users] DMPlex with spring elements
Hi all
DMLocalToGlobal with the flag
ADD_VALUES.
Shri
From: Miguel Angel Salazar de Troya salazardetr...@gmail.com
Date: Tue, 30 Sep 2014 11:35:31 -0500
To: Shri abhy...@mcs.anl.gov
Cc: petsc-users@mcs.anl.gov petsc-users@mcs.anl.gov
Subject: Re: [petsc-users] DMPlex with spring elements
No worries. Thanks
To: Miguel Angel Salazar de Troya salazardetr...@gmail.com
Cc: Jed Brown j...@jedbrown.org, Shri abhy...@mcs.anl.gov,
petsc-users@mcs.anl.gov petsc-users@mcs.anl.gov
Subject: Re: [petsc-users] DMPlex with spring elements
On Fri, Sep 26, 2014 at 10:26 AM, Miguel Angel Salazar de Troya
Thanks. I had another question about the DM and SNES and TS. There are
similar routines to assign the residual and jacobian evaluation to both
objects. For the SNES case are:
DMSNESSetFunctionLocal
DMSNESSetJacobianLocal
What are the differences of these with:
SNESSetFunction
SNESSetJacobian
On Fri, Sep 26, 2014 at 9:31 AM, Miguel Angel Salazar de Troya
salazardetr...@gmail.com wrote:
Thanks. I had another question about the DM and SNES and TS. There are
similar routines to assign the residual and jacobian evaluation to both
objects. For the SNES case are:
That means that if we call SNESSetFunction() we don't build the residual
vector in parallel? In the pflow example (
http://www.mcs.anl.gov/petsc/petsc-as/petsc-current/src/snes/examples/tutorials/network/pflow/pf.c.html)
the function FormFunction() (Input for SNESSetFunction() works with the
local
On Fri, Sep 26, 2014 at 10:06 AM, Miguel Angel Salazar de Troya
salazardetr...@gmail.com wrote:
That means that if we call SNESSetFunction() we don't build the residual
vector in parallel? In the pflow example (
] DMPlex with spring elements
On Thu, Sep 25, 2014 at 5:15 PM, Miguel Angel Salazar de Troya
salazardetr...@gmail.com wrote:
If you need a symmetric Jacobian, you can use the BC facility in
PetscSection, which eliminates the
variables completely. This is how the FEM examples, like ex12, work
Yeah, but doesn't it only work with the local vectors localX and localF?
Miguel
On Fri, Sep 26, 2014 at 10:10 AM, Matthew Knepley knep...@gmail.com wrote:
On Fri, Sep 26, 2014 at 10:06 AM, Miguel Angel Salazar de Troya
salazardetr...@gmail.com wrote:
That means that if we call
On Fri, Sep 26, 2014 at 10:26 AM, Miguel Angel Salazar de Troya
salazardetr...@gmail.com wrote:
Yeah, but doesn't it only work with the local vectors localX and localF?
I am telling you what the interface for the functions is. You can do
whatever you want inside.
Matt
Miguel
On Fri,
Ok thanks.
Miguel
On Fri, Sep 26, 2014 at 10:28 AM, Matthew Knepley knep...@gmail.com wrote:
On Fri, Sep 26, 2014 at 10:26 AM, Miguel Angel Salazar de Troya
salazardetr...@gmail.com wrote:
Yeah, but doesn't it only work with the local vectors localX and localF?
I am telling you what the
de Troya salazardetr...@gmail.com
Cc: Jed Brown j...@jedbrown.org, Shri abhy...@mcs.anl.gov,
petsc-users@mcs.anl.gov petsc-users@mcs.anl.gov
Subject: Re: [petsc-users] DMPlex with spring elements
On Fri, Sep 26, 2014 at 10:26 AM, Miguel Angel Salazar de Troya
salazardetr...@gmail.com wrote
: Re: [petsc-users] DMPlex with spring elements
On Fri, Sep 26, 2014 at 10:26 AM, Miguel Angel Salazar de Troya
salazardetr...@gmail.com wrote:
Yeah, but doesn't it only work with the local vectors localX and localF?
I am telling you what the interface for the functions is. You can do
To: Shri abhy...@mcs.anl.gov
Cc: petsc-users@mcs.anl.gov petsc-users@mcs.anl.gov
Subject: Re: [petsc-users] DMPlex with spring elements
Thanks for your response. I'm attaching a pdf with a description of the
model. The description of the PetscSection is necessary for the DMNetwork?
It looks like
...@mcs.anl.gov
Cc: petsc-users@mcs.anl.gov petsc-users@mcs.anl.gov
Subject: Re: [petsc-users] DMPlex with spring elements
Thanks for your response. I'm attaching a pdf with a description of the
model. The description of the PetscSection is necessary for the
DMNetwork? It looks like DMNetwork does not use
Troya salazardetr...@gmail.com
Date: Wed, 24 Sep 2014 17:38:11 -0500
To: Shri abhy...@mcs.anl.gov
Cc: petsc-users@mcs.anl.gov petsc-users@mcs.anl.gov
Subject: Re: [petsc-users] DMPlex with spring elements
Thanks for your response. I'm attaching a pdf with a description of the
model
:16 -0500
To: Shri abhy...@mcs.anl.govmailto:abhy...@mcs.anl.gov
Cc: petsc-users@mcs.anl.govmailto:petsc-users@mcs.anl.gov
petsc-users@mcs.anl.govmailto:petsc-users@mcs.anl.gov
Subject: Re: [petsc-users] DMPlex with spring elements
Thanks. Once I have marked the nodes that are fixed nodes using
To: Shri abhy...@mcs.anl.gov
Cc: petsc-users@mcs.anl.gov petsc-users@mcs.anl.gov
Subject: Re: [petsc-users] DMPlex with spring elements
Thanks. Once I have marked the nodes that are fixed nodes using the
component data structure, how can I process it later? I mean, at what point
does the solver
...@gmail.commailto:salazardetr...@gmail.com
Date: Thu, 25 Sep 2014 10:52:16 -0500
To: Shri abhy...@mcs.anl.govmailto:abhy...@mcs.anl.gov
Cc: petsc-users@mcs.anl.govmailto:petsc-users@mcs.anl.gov
petsc-users@mcs.anl.govmailto:petsc-users@mcs.anl.gov
Subject: Re: [petsc-users] DMPlex with spring elements
Thanks. Once I have
...@gmail.com
Date: Thu, 25 Sep 2014 11:43:13 -0500
To: Shri abhy...@mcs.anl.gov
Cc: petsc-users@mcs.anl.gov
Subject: Re: [petsc-users] DMPlex with spring elements
I see, and I guess I would have to assign a value of one to the diagonal
entry of that degree of freedom in the Jacobian right
: Re: [petsc-users] DMPlex with spring elements
Why not? Wouldn't we have a row of zeros except for the diagonal term?
The column that corresponds to that degree of from doesn't have to be
zero, right?
Thanks
Miguel
On Sep 25, 2014 12:38 PM, Abhyankar, Shrirang G. abhy...@mcs.anl.gov
wrote
Salazar de Troya salazardetr...@gmail.com
Date: Thu, 25 Sep 2014 11:43:13 -0500
To: Shri abhy...@mcs.anl.gov
Cc: petsc-users@mcs.anl.gov
Subject: Re: [petsc-users] DMPlex with spring elements
I see, and I guess I would have to assign a value of one to the diagonal
entry of that degree
Matthew Knepley knep...@gmail.com writes:
On Thu, Sep 25, 2014 at 1:46 PM, Abhyankar, Shrirang G. abhy...@mcs.anl.gov
wrote:
You are right. The Jacobian for the power grid application is indeed
non-symmetric. Is that a problem for your application?
If you need a symmetric Jacobian, you
If you need a symmetric Jacobian, you can use the BC facility in
PetscSection, which eliminates the
variables completely. This is how the FEM examples, like ex12, work.
Would that be with PetscSectionSetConstraintDof ? For that I will need the
PetscSection, DofSection, within DMNetwork, how
On Thu, Sep 25, 2014 at 5:15 PM, Miguel Angel Salazar de Troya
salazardetr...@gmail.com wrote:
If you need a symmetric Jacobian, you can use the BC facility in
PetscSection, which eliminates the
variables completely. This is how the FEM examples, like ex12, work.
Would that be with
: Matthew Knepley knep...@gmail.com
Date: Tue, 23 Sep 2014 22:40:52 -0400
To: Miguel Angel Salazar de Troya salazardetr...@gmail.com
Cc: petsc-users@mcs.anl.gov petsc-users@mcs.anl.gov
Subject: Re: [petsc-users] DMPlex with spring elements
On Tue, Sep 23, 2014 at 4:01 PM, Miguel Angel
Subject: Re: [petsc-users] DMPlex with spring elements
On Tue, Sep 23, 2014 at 4:01 PM, Miguel Angel Salazar de Troya
salazardetr...@gmail.com wrote:
Hi all
I was wondering if it could be possible to build a model similar to the
example snes/ex12.c, but with spring elements (for elasticity
Subject: Re: [petsc-users] DMPlex with spring elements
On Tue, Sep 23, 2014 at 4:01 PM, Miguel Angel Salazar de Troya
salazardetr...@gmail.com wrote:
Hi all
I was wondering if it could be possible to build a model similar to the
example snes/ex12.c, but with spring elements
salazardetr...@gmail.commailto:salazardetr...@gmail.com
Cc: petsc-users@mcs.anl.govmailto:petsc-users@mcs.anl.gov
petsc-users@mcs.anl.govmailto:petsc-users@mcs.anl.gov
Subject: Re: [petsc-users] DMPlex with spring elements
On Tue, Sep 23, 2014 at 4:01 PM, Miguel Angel Salazar de Troya
salazardetr
Hi all
I was wondering if it could be possible to build a model similar to the
example snes/ex12.c, but with spring elements (for elasticity) instead of
simplicial elements. Spring elements in a grid, therefore each element
would have two nodes and each node two components. There would be more
On Tue, Sep 23, 2014 at 4:01 PM, Miguel Angel Salazar de Troya
salazardetr...@gmail.com wrote:
Hi all
I was wondering if it could be possible to build a model similar to the
example snes/ex12.c, but with spring elements (for elasticity) instead of
simplicial elements. Spring elements in a
Sep 2014 22:40:52 -0400
To: Miguel Angel Salazar de Troya salazardetr...@gmail.com
Cc: petsc-users@mcs.anl.gov petsc-users@mcs.anl.gov
Subject: Re: [petsc-users] DMPlex with spring elements
On Tue, Sep 23, 2014 at 4:01 PM, Miguel Angel Salazar de Troya
salazardetr...@gmail.com wrote:
Hi all
I
35 matches
Mail list logo