Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions hermes-3.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -271,14 +271,6 @@ int Hermes::init(bool restarting) {
// dx,dy and dz are dimensionless,
// so J has SI units of volume. Divide by volume to normalise.


// try loading J from the grid, otherwise use the one calculated from the metric coefficients
Coordinates::FieldMetric Jtmp = 0.0;
if (mesh->get(Jtmp, "J_new")==0){
mesh->communicate(Jtmp);
coord->J = Jtmp;
}

coord->J /= rho_s0 * rho_s0 * rho_s0;

coord->g_11 /= SQ(rho_s0);
Expand Down
Loading