Commit ee49ec8b authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

removing assemble transfer

parent 5e9626ea
......@@ -449,13 +449,3 @@ void DGEllipticAssemble::SetExactSolution(Vector &u) const {
void DGEllipticAssemble::SetFlux(const Vector &u, Vector &flux) {
}
void DGEllipticAssemble::AssembleTransfer(TransferMatrix &TM) const {
TM = 0;
const matrixgraph &cg = TM.CoarseMatrixGraph();
const matrixgraph &fg = TM.FineMatrixGraph();
const Mesh &mesh = fg.GetMesh();
for (cell c = cg.cells(); c != cg.cells_end(); ++c)
for (int k = 0; k < c.Children(); ++k)
TM(c(), c.Child(k))[0] = 1;
}
......@@ -71,8 +71,6 @@ public:
virtual void SetExactSolution(Vector &uEx) const override;
virtual void SetFlux(const Vector &u, Vector &flux) override;
void AssembleTransfer(TransferMatrix &TM) const override;
};
#endif
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