* initialization function of the
* relaxation method.
*/
- template <class MATRIX2, class DATA>
+ template <class MATRIX2>
void initialize (const MGLevelObject<MATRIX2>& matrices,
- const DATA& additional_data = RELAX::AdditionalData());
+ const typename RELAX::AdditionalData & additional_data = typename RELAX::AdditionalData());
/**
* Initialize for matrices. This
* initialization function of the
* relaxation method.
*/
- template <class MATRIX2, class DATA>
+ template <class MATRIX2>
void initialize (const MGLevelObject<MATRIX2>& matrices,
- const DATA& additional_data = PRECONDITIONER::AdditionalData());
+ const typename PRECONDITIONER::AdditionalData& additional_data = typename PRECONDITIONER::AdditionalData());
/**
* Initialize for matrices. This
template <class MATRIX, class RELAX, class VECTOR>
-template <class MATRIX2, class DATA>
+template <class MATRIX2>
inline void
MGSmootherRelaxation<MATRIX, RELAX, VECTOR>::initialize (
const MGLevelObject<MATRIX2>& m,
- const DATA& data)
+ const typename RELAX::AdditionalData& data)
{
const unsigned int min = m.get_minlevel();
const unsigned int max = m.get_maxlevel();
{}
+
template <class MATRIX, class PRECONDITIONER, class VECTOR>
inline void
MGSmootherPrecondition<MATRIX, PRECONDITIONER, VECTOR>::clear ()
}
+
template <class MATRIX, class PRECONDITIONER, class VECTOR>
-template <class MATRIX2, class DATA>
+template <class MATRIX2>
inline void
MGSmootherPrecondition<MATRIX, PRECONDITIONER, VECTOR>::initialize (
const MGLevelObject<MATRIX2>& m,
- const DATA& data)
+ const typename PRECONDITIONER::AdditionalData& data)
{
const unsigned int min = m.get_minlevel();
const unsigned int max = m.get_maxlevel();
}
}
+
+
template <class MATRIX, class PRECONDITIONER, class VECTOR>
template <class MATRIX2, class DATA>
inline void
}
}
+
+
template <class MATRIX, class PRECONDITIONER, class VECTOR>
template <class MATRIX2, class DATA>
inline void
}
}
+
+
template <class MATRIX, class PRECONDITIONER, class VECTOR>
template <class MATRIX2, class DATA>
inline void
}
}
+
+
template <class MATRIX, class PRECONDITIONER, class VECTOR>
inline void
MGSmootherPrecondition<MATRIX, PRECONDITIONER, VECTOR>::smooth(
}
+
template <class MATRIX, class PRECONDITIONER, class VECTOR>
inline unsigned int
MGSmootherPrecondition<MATRIX, PRECONDITIONER, VECTOR>::