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

removing assemble transfer

parent ee49ec8b
......@@ -236,14 +236,6 @@ void DGLinearTransportAssemble::SetExactSolution(double t, Vector &u_ex) const {
u_ex.Accumulate();
}
void DGNonLinearTransportAssemble::AssembleTransfer(TransferMatrix &TM) const {
TM = 0;
const matrixgraph &cg = TM.CoarseMatrixGraph();
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;
}
double DGLinearTransportAssemble::Mass(const Vector &u) const {
Scalar e = 0;
for (cell c = u.cells(); c != u.cells_end(); ++c) {
......
......@@ -98,8 +98,6 @@ public:
double Energy(const Vector &u) const override;
void Energy(const cell &c, const Vector &u, double &energy) const override;
void AssembleTransfer(TransferMatrix &TM) const override;
};
#endif //TUTORIAL_DGTRANSPORT_HPP
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