On 12/13/2012 12:11 PM, Kirk, Benjamin (JSC-EG311) wrote:
> I created a unit test in the latest libMesh source tree, and for the buffers 
> you provide the code is behaving as expected.
> https://github.com/libMesh/libmesh/pull/9
>
> So the issue is not the new VariableGroups patch, which is consistent with 
> you saying the issue persists even with the older versions.
>
> (1) Could you review the link above and make sure that the calling arguments 
> are consistent with what you are doing,
> (2) add a call to EquationSystems::print_info() after you add your second 
> system and initialize it.  Reply with the output
> (3) run in DEBUG mode
>
> DEBUG mode does more than just enable the asserts - in this case it adds 
> additional sanity checking code into the DofObject class.
1) I'm completely unfamiliar with git so I am not sure I understood this 
one ... I had a look in the function testJensEftangBug(); all I was able 
to conclude was that your asserts makes sense to me, but I probably 
misunderstand something.

2) The output of EquationSystems::print_info() after initialization 
(after adding the second system) is listed below. It looks sound to me.

3) DEBUG mode does not reveal anything new; it still just exits on the 
libmesh_error().

(2) and (3) was with the git head


  EquationSystems
   n_systems()=2
    System #0, "io_system"
     Type "Basic"
     Variables="u_0" "u_1" "u_2"
     Finite Element Types="LAGRANGE", "JACOBI_20_00" "LAGRANGE", 
"JACOBI_20_00" "LAGRANGE", "JACOBI_20_00"
     Infinite Element Mapping="CARTESIAN" "CARTESIAN" "CARTESIAN"
     Approximation Orders="SECOND", "THIRD" "SECOND", "THIRD" "SECOND", 
"THIRD"
     n_dofs()=288
     n_local_dofs()=288
     n_constrained_dofs()=0
     n_local_constrained_dofs()=0
     n_vectors()=288
     n_matrices()=0
     DofMap Sparsity
       Average  On-Processor Bandwidth <= 0
       Average Off-Processor Bandwidth <= 0
       Maximum  On-Processor Bandwidth <= 0
       Maximum Off-Processor Bandwidth <= 0
     DofMap Constraints
       Number of DoF Constraints = 0
       Number of Node Constraints = 0
    System #1, "pod_sys"
     Type "Implicit"
     Variables="u_pod"
     Finite Element Types="LAGRANGE", "JACOBI_20_00"
     Infinite Element Mapping="CARTESIAN"
     Approximation Orders="SECOND", "THIRD"
     n_dofs()=96
     n_local_dofs()=96
     n_constrained_dofs()=0
     n_local_constrained_dofs()=0
     n_vectors()=1
     n_matrices()=1
     DofMap Sparsity
       Average  On-Processor Bandwidth <= 13.0833
       Average Off-Processor Bandwidth <= 0
       Maximum  On-Processor Bandwidth <= 21
       Maximum Off-Processor Bandwidth <= 0
     DofMap Constraints
       Number of DoF Constraints = 0
       Number of Node Constraints = 0

Thanks,

Jens

> -Ben

>


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to