diff --git a/source/solvers/tracer.cc b/source/solvers/tracer.cc index 8c35abe0c1..f78787deb1 100644 --- a/source/solvers/tracer.cc +++ b/source/solvers/tracer.cc @@ -234,7 +234,7 @@ Tracer::assemble_system_matrix_dg() const unsigned int &face_no, TracerScratchData &scratch_data, StabilizedMethodsCopyData ©_data) { - double beta = 1; + double beta = 10; beta *= 1 / compute_cell_diameter(cell->measure(), 1); // Identify which boundary condition corresponds to the boundary id. If @@ -330,7 +330,7 @@ Tracer::assemble_system_matrix_dg() const unsigned int &nsf, TracerScratchData &scratch_data, StabilizedMethodsCopyData ©_data) { - double beta = 0; + double beta = 10; beta *= 1 / compute_cell_diameter(cell->measure(), 1); FEInterfaceValues &fe_iv = scratch_data.fe_interface_values_tracer; fe_iv.reinit(cell, f, sf, ncell, nf, nsf); @@ -602,7 +602,7 @@ Tracer::assemble_system_rhs_dg() const unsigned int &face_no, TracerScratchData &scratch_data, StabilizedMethodsCopyData ©_data) { - double beta = 1; + double beta = 10; beta *= 1 / compute_cell_diameter(cell->measure(), 1); @@ -730,7 +730,8 @@ Tracer::assemble_system_rhs_dg() TracerScratchData &scratch_data, StabilizedMethodsCopyData ©_data) { // TODO refactor and put inside a parameter formally - const double beta = 0.; + double beta = 10; + beta *= 1 / compute_cell_diameter(cell->measure(), 1); FEInterfaceValues &fe_iv = scratch_data.fe_interface_values_tracer; fe_iv.reinit(cell, f, sf, ncell, nf, nsf);