Re: [Libmesh-users] Design question

2016-07-13 Thread Salazar De Troya, Miguel
Thanks, that was the issue. I moved the call to add_system() to somewhere else. On 7/13/16, 11:44 AM, "Roy Stogner" wrote: > >On Wed, 13 Jul 2016, John Peterson wrote: > >> On Wed, Jul 13, 2016 at 12:04 PM, Salazar De Troya, Miguel < >> [email protected]> wrote: >> >>> I have tried the fo

Re: [Libmesh-users] Design question

2016-07-13 Thread Roy Stogner
On Wed, 13 Jul 2016, John Peterson wrote: > On Wed, Jul 13, 2016 at 12:04 PM, Salazar De Troya, Miguel < > [email protected]> wrote: > >> I have tried the following: Add an ExplicitSystem pointer to >> PoissonSystem and add this system in the PoissonSystem constructor: >> >>densities = &

Re: [Libmesh-users] Design question

2016-07-13 Thread John Peterson
On Wed, Jul 13, 2016 at 12:04 PM, Salazar De Troya, Miguel < [email protected]> wrote: > Hi all, > > Say I want to solve the poisson equation, but with different material > properties in the domain, a heterogeneous material. This heterogeneous > material is piecewise constant in each element.

[Libmesh-users] Design question

2016-07-13 Thread Salazar De Troya, Miguel
Hi all, Say I want to solve the poisson equation, but with different material properties in the domain, a heterogeneous material. This heterogeneous material is piecewise constant in each element. So far I can define it with an ExplicitSystem and adding a variable that is CONSTANT and MONOMIAL,