Skip to content
Snippets Groups Projects
  • Uli Sack's avatar
    e18fbe4d
    numLevels_ is no longer set explicitely but inferred from the number of... · e18fbe4d
    Uli Sack authored
    numLevels_ is no longer set explicitely but inferred from the number of provided transfer operators.
    members mat_, x_, rhs_ have been renamed to ~Hierarchy_ in order to have a clear distinction to the base class members x_,mat_,rhs_
    This has been done in accordance with some tasks on the TODO and in cooperation with Carsten.
    The changes in a little more detail are:
    * constructors with argument numLevels have been deprecated
    * resizing of various Hierarchy containers has been moved to preprocess()
    * setNumberOfLevels() has been deprecated and does nothing now (s.above)
    * setProblem with argument numLevels has been deprecated
    * setProblem now only sets the base class members. the fine-level hierarchy entries are set in preprocess
    * getSol() and getMatrix() are now implemented and used in/from the base class
    * xHierarchy_ is now -same as matrixHierarchy_already was- a std_vector<shared_ptr<...> >
    * implementation details of setting the smoothers have changed, but should not affect existing code
    
    If this breaks your code please get back to me.
    Uli
    
    [[Imported from SVN: r7374]]
    e18fbe4d
    History
    numLevels_ is no longer set explicitely but inferred from the number of...
    Uli Sack authored
    numLevels_ is no longer set explicitely but inferred from the number of provided transfer operators.
    members mat_, x_, rhs_ have been renamed to ~Hierarchy_ in order to have a clear distinction to the base class members x_,mat_,rhs_
    This has been done in accordance with some tasks on the TODO and in cooperation with Carsten.
    The changes in a little more detail are:
    * constructors with argument numLevels have been deprecated
    * resizing of various Hierarchy containers has been moved to preprocess()
    * setNumberOfLevels() has been deprecated and does nothing now (s.above)
    * setProblem with argument numLevels has been deprecated
    * setProblem now only sets the base class members. the fine-level hierarchy entries are set in preprocess
    * getSol() and getMatrix() are now implemented and used in/from the base class
    * xHierarchy_ is now -same as matrixHierarchy_already was- a std_vector<shared_ptr<...> >
    * implementation details of setting the smoothers have changed, but should not affect existing code
    
    If this breaks your code please get back to me.
    Uli
    
    [[Imported from SVN: r7374]]
Code owners
Assign users and groups as approvers for specific file changes. Learn more.