Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
blaisb authored and oguevremont committed Sep 24, 2024
1 parent 915cefd commit 1adb1c5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions source/solvers/tracer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ Tracer<dim>::assemble_system_matrix_dg()
const unsigned int &face_no,
TracerScratchData<dim> &scratch_data,
StabilizedMethodsCopyData &copy_data) {
double beta = 1;
double beta = 10;
beta *= 1 / compute_cell_diameter<dim>(cell->measure(), 1);

// Identify which boundary condition corresponds to the boundary id. If
Expand Down Expand Up @@ -330,7 +330,7 @@ Tracer<dim>::assemble_system_matrix_dg()
const unsigned int &nsf,
TracerScratchData<dim> &scratch_data,
StabilizedMethodsCopyData &copy_data) {
double beta = 0;
double beta = 10;
beta *= 1 / compute_cell_diameter<dim>(cell->measure(), 1);
FEInterfaceValues<dim> &fe_iv = scratch_data.fe_interface_values_tracer;
fe_iv.reinit(cell, f, sf, ncell, nf, nsf);
Expand Down Expand Up @@ -602,7 +602,7 @@ Tracer<dim>::assemble_system_rhs_dg()
const unsigned int &face_no,
TracerScratchData<dim> &scratch_data,
StabilizedMethodsCopyData &copy_data) {
double beta = 1;
double beta = 10;

beta *= 1 / compute_cell_diameter<dim>(cell->measure(), 1);

Expand Down Expand Up @@ -730,7 +730,8 @@ Tracer<dim>::assemble_system_rhs_dg()
TracerScratchData<dim> &scratch_data,
StabilizedMethodsCopyData &copy_data) {
// TODO refactor and put inside a parameter formally
const double beta = 0.;
double beta = 10;
beta *= 1 / compute_cell_diameter<dim>(cell->measure(), 1);
FEInterfaceValues<dim> &fe_iv = scratch_data.fe_interface_values_tracer;
fe_iv.reinit(cell, f, sf, ncell, nf, nsf);

Expand Down

0 comments on commit 1adb1c5

Please sign in to comment.