Commit a13af864 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

some small corrections in DOFVector added

parent d5274317
......@@ -1174,9 +1174,6 @@ namespace AMDiS {
void mv(MatrixTranspose transpose, const DOFMatrix &a, const DOFVector<T>&x,
DOFVector<T> &result, bool add)
{
// Unfortunately needed
// using namespace mtl;
FUNCNAME("DOFVector<T>::mv()");
TEST_EXIT(a.getRowFeSpace() && a.getColFeSpace() &&
......@@ -1699,28 +1696,6 @@ namespace AMDiS {
}
}
// Some free functions used in MTL4
// template <typename T>
// inline std::size_t size(const AMDiS::DOFVector<T>& v)
// {
// return v.getSize();
// }
//
// template <typename T>
// inline std::size_t num_rows(const AMDiS::DOFVector<T>& v)
// {
// return v.getSize();
// }
//
//
// template <typename T>
// inline std::size_t num_cols(const AMDiS::DOFVector<T>& v)
// {
// return 1;
// }
template <typename T>
inline void set_to_zero(AMDiS::DOFVector<T>& v)
{
......@@ -1919,6 +1894,7 @@ namespace AMDiS {
// NOTE: We have to synchronize the vectors in PARALLEL_DOMAIN_AMDIS mode
#ifdef HAVE_PARALLEL_DOMAIN_AMDIS
Parallel::MeshDistributor::globalMeshDistributor->checkMeshChange(false);
Parallel::MeshDistributor::globalMeshDistributor->synchAddVector(*result);
Parallel::MeshDistributor::globalMeshDistributor->synchAddVector(volume);
#endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment