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

formatted

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