Commit 9cd22562 authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

Forgotten to remove some lines.

parent 2040d12f
......@@ -459,8 +459,6 @@ namespace AMDiS {
template<typename T>
int DOFVector<T>::interpolFct(ElInfo* elinfo)
{
std::cout << "Interpol = " << elinfo->getElement()->getIndex() << std::endl;
const BasisFunction *basFct = traverseVector->getFESpace()->getBasisFcts();
const DOFAdmin* admin = traverseVector->getFESpace()->getAdmin();
const DegreeOfFreedom *dof = basFct->getLocalIndices(const_cast<Element *>(elinfo->getElement()),
......@@ -470,17 +468,9 @@ namespace AMDiS {
NULL,
traverseVector->interFct,
NULL);
// std::cout << "ptr = " << dof << std::endl;
int number = basFct->getNumber();
for (int i = 0; i < number; i++) {
// std::cout << "i = " << i << std::endl;
// std::cout << "DOF = " << dof[i] << std::endl;
// std::cout << "new val = " << inter_val[i] << std::endl;
// std::cout << "old val = " << (*traverseVector)[dof[i]] << std::endl;
for (int i = 0; i < number; i++)
(*traverseVector)[dof[i]] = inter_val[i];
}
return 0;
}
......
Markdown is supported
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