My apologies. I'm new at software development, but eager to learn. I forked
the repo and modified with my changes. The problem I was having was because
I was not using the Mesh constructor correctly for a 2D problem. I had

Mesh mesh(init.comm());

Instead of

const unsigned int dim = 2;
Mesh mesh(init.comm(),dim);

My fork is https://github.com/salazardetroya/libmesh if you are interested
in the changes I made. The example I'm using to test the changes is in
another repo named AMR-vector.  I also had a question about a function in
the class Variable. The function n_components()

  /**
   * The number of components of this variable.
   */
  unsigned int n_components() const
  { return type().family == SCALAR ? _type.order : 1; }

for the class LAGRANGE_VEC should not be just 1, should it? This function
is called in the class ExactSolution, where the only non-scalar FE family
implemented is the SCALAR so I assumed I had to modify the n_components
function as well.

Thanks in advance
Miguel


On Mon, Jun 16, 2014 at 1:07 PM, Roy Stogner <[email protected]>
wrote:

> By the way, the line numbers you quoted are already off from master.
>> If you are serious about doing development, you should really start
>> using git and a libmesh fork.  Then we can actually look at your
>> branch, see the entire diff, and have a better idea of where bugs
>> might be.
>>
>
> This times a thousand.  A public fork from which we can replicate any
> bugs is invaluable, especially for things like a missing parent()
> where the assertion itself is only useful for catching an error early
> but where you really need to be able to see the stack trace and
> examine variables to figure out *why* the error is there.
> ---
> Roy
>



-- 
*Miguel Angel Salazar de Troya*
Graduate Research Assistant
Department of Mechanical Science and Engineering
University of Illinois at Urbana-Champaign
(217) 550-2360
[email protected]
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to