Re: [Libmesh-users] Problem accessing a dof index in a system

2014-08-25 Thread Roy Stogner
On Mon, 25 Aug 2014, Miguel Angel Salazar de Troya wrote: > I solved this problem, I was calling DofMap::_dof_indices with the wrong > element, it was an inactive element. That's why it didn't have the right > indices. Once I call it when an active element, it works. My bad. Glad you caught this

Re: [Libmesh-users] Problem accessing a dof index in a system

2014-08-25 Thread Miguel Angel Salazar de Troya
Hi, I solved this problem, I was calling DofMap::_dof_indices with the wrong element, it was an inactive element. That's why it didn't have the right indices. Once I call it when an active element, it works. My bad. Miguel On Fri, Aug 22, 2014 at 8:02 PM, Miguel Angel Salazar de Troya < salazar

[Libmesh-users] Problem accessing a dof index in a system

2014-08-22 Thread Miguel Angel Salazar de Troya
Hi everybody I have an EquationSystem with a FEMSystem that has just a LAGRANGE_VEC variable, which I use to solve my problem, and another ExplicitSystem with a zeroth order MONOMIAL variable to define a parameter in each element. Before calling equation_systems.init(), I assign initial values f