Ignore:
Timestamp:
Apr 27, 2012, 11:34:57 PM (14 years ago)
Author:
Julian Iseringhausen <isering@…>
Children:
1a92cf
Parents:
b2154a3
Message:

vmg: Implement fourth-order discretization of the Poisson equation.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/samples/discretization_poisson_fd.hpp

    rb2154a3 r4571da  
    2121{
    2222public:
    23   DiscretizationPoissonFD()
    24   {
    25     stencil.SetDiag(6.0);
    26     stencil.push_back(-1,  0,  0, -1.0);
    27     stencil.push_back( 1,  0,  0, -1.0);
    28     stencil.push_back( 0, -1,  0, -1.0);
    29     stencil.push_back( 0,  1,  0, -1.0);
    30     stencil.push_back( 0,  0, -1, -1.0);
    31     stencil.push_back( 0,  0,  1, -1.0);
    32   }
     23  DiscretizationPoissonFD(const int& order);
    3324
    3425  vmg_float OperatorPrefactor(const Grid& grid) const
     
    3728  }
    3829
    39 private:
    40   void SetInnerBoundaryCompute(Grid& sol_fine, Grid& rhs_fine, Grid& sol_coarse) const {}
     30  void ModifyRightHandSide();
    4131};
    4232
Note: See TracChangeset for help on using the changeset viewer.