Skip to content
Snippets Groups Projects
Commit e18fbe4d authored by Uli Sack's avatar Uli Sack Committed by usack
Browse files

numLevels_ is no longer set explicitely but inferred from the number of...

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]]
parent 558458da
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment