Skip to content

Commit

Permalink
Use covariantMetricTensor.map() instead of covariantMetricTensor.appl…
Browse files Browse the repository at this point in the history
…yToComponents() and covariantMetricTensor.setMetricTensor().
  • Loading branch information
tomchapman committed Nov 23, 2023
1 parent 3ea15df commit d6db0fe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/mesh/coordinates.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -475,8 +475,7 @@ Coordinates::Coordinates(Mesh* mesh, Options* options, const CELL_LOC loc,
interpolateAndExtrapolate_function),
region);

covariantMetricTensor.setMetricTensor(
covariantMetricTensor.applyToComponents(interpolateAndExtrapolate_function));
covariantMetricTensor.map(interpolateAndExtrapolate_function);

// Check input metrics
checkContravariant();
Expand Down

0 comments on commit d6db0fe

Please sign in to comment.