Ignore:
Timestamp:
Apr 24, 2012, 2:26:14 PM (14 years ago)
Author:
Julian Iseringhausen <isering@…>
Children:
b51c3b
Parents:
e3dbbf
Message:

Fix energy calculation.

git-svn-id: https://svn.version.fz-juelich.de/scafacos/trunk@1729 5161e1c8-67bf-11de-9fd5-51895aff932f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/samples/discretization_poisson_fv.cpp

    re3dbbf r716da7  
    2525  const Vector h2_inv = 0.5 / sol_f.Extent().MeshWidth();
    2626
    27   const Index b1_c = sol_c.Local().FinerBeginFoo();
    28   const Index b2_c = sol_c.Local().FinerEndFoo() - 1;
     27  const Index b1_c = sol_c.Local().FinerBegin();
     28  const Index b2_c = sol_c.Local().FinerEnd() - 1;
    2929  const Index b1_f = 0;
    3030  const Index b2_f = rhs_f.Local().SizeTotal() - 1;
     
    3232  const Index begin_f = sol_f.Local().Begin();
    3333  const Index end_f = sol_f.Local().End();
    34   const Index begin_c = sol_c.Local().FinerBeginFoo();
     34  const Index begin_c = sol_c.Local().FinerBegin();
    3535
    3636  const vmg_float c_1_3 = 1.0 / 3.0;
Note: See TracChangeset for help on using the changeset viewer.