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

formatted

parent 347d6e96
......@@ -31,20 +31,13 @@ void HybridFluxGenerator2D::GetFineSample(Vector &fineField) {
Newton newton(solver);
newton(assemble, solution
);
assemble.
setFlux(solution, fineField
);
newton(assemble, solution);
assemble.setFlux(solution, fineField);
}
void HybridFluxGenerator2D::GetCoarseSample(const Vector &fineField,
Vector &coarseField) {
coarseField = 0;
for (cell c = coarseField.cells(); c != coarseField.cells_end(); c++) {
row coarseRow = coarseField.find_row(c());
for (int k = 0; k < c.Children(); ++k) {
......
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