From: walter kou <walter4code@gm...>  20140723 03:26:46

Got the same thing (i.e. all the variables are still treated as nodalwise variables), when using write_discontinuous_gmv(file_name, equation_systems, true ); By the way, the equation_systems contains 1) systemA with variable( FIRST, LAGRANGE) and 2) systemB with variable (CONSTANT, MONOMIAL). Any idea on the fix? Thanks, Walter On Sat, Jul 19, 2014 at 10:03 PM, Roy Stogner <roystgnr@...> wrote: > > On Sat, 19 Jul 2014, walter kou wrote: > > In my equation systems, I have constantmonomial variables, i.e. >> elementwise variables. >> >> I notice, in the output gmv files, the elementwise variables has same >> number of data as nodewise variables. >> >> How does the nodewise data computed based on elementwise results? >> > > With discontinuous elements? Pretty much by flipping a coin, IIRC. > You don't want that. > > > In may case, element is 3D hex8, and I used >> GMVIO(mesh).write_equation_systems(); >> > > Try write_discontinuous_gmv() instead. >  > Roy > 