Skip to content

Commit

Permalink
Update example/poisson_gmg/parthenon_app_inputs.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
lroberts36 authored Oct 5, 2023
1 parent 58c33a4 commit e3556b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/poisson_gmg/parthenon_app_inputs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ void ProblemGenerator(Mesh *pm, ParameterInput *pin, MeshData<Real> *md) {
val = 1.0; // / (4.0 / 3.0 * M_PI * std::pow(rad, 3));
}
pack(b, te, poisson_package::rhs(), k, j, i) = val;
pack(b, te, poisson_package::res_err(), k, j, i) = 0.0; // + x2;
pack(b, te, poisson_package::u(), k, j, i) = 0.0; // + x2;
pack(b, te, poisson_package::res_err(), k, j, i) = 0.0;
pack(b, te, poisson_package::u(), k, j, i) = 0.0;

pack(b, te, poisson_package::exact(), k, j, i) = -exp(-10.0 * rad * rad);
auto inside_region = [ndim](Real x, Real y, Real z) {
Expand Down

0 comments on commit e3556b9

Please sign in to comment.