Skip to content

Commit 9e2be1a

Browse files
committed
Switch from FEInterface::inverse_map() to FEMap::inverse_map()
As requested by @roystgnr during review.
1 parent 86f0df6 commit 9e2be1a

1 file changed

Lines changed: 8 additions & 10 deletions

File tree

examples/transient/transient_ex3/claw_system.C

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -499,12 +499,11 @@ void ClawSystem::assemble_avg_coupling_matrices()
499499

500500
// Find their locations on the neighbor
501501
std::vector<Point> qface_neighbor_points;
502-
FEInterface::inverse_map(
503-
elem->dim(),
504-
fe_type,
502+
FEMap::inverse_map(
503+
neighbor->dim(),
505504
neighbor,
506-
qface_points,
507-
qface_neighbor_points);
505+
/*physical_points*/qface_points,
506+
/*reference_points*/qface_neighbor_points);
508507

509508
// Calculate the neighbor element shape functions at those locations
510509
fe_neighbor_face->reinit(neighbor, &qface_neighbor_points);
@@ -668,12 +667,11 @@ void ClawSystem::assemble_jump_coupling_matrix()
668667

669668
// Find side QP locations in neighbor side reference space
670669
std::vector<Point> qface_neighbor_points;
671-
FEInterface::inverse_map(
672-
elem->dim(),
673-
fe_type,
670+
FEMap::inverse_map(
671+
neighbor->dim(),
674672
neighbor,
675-
qface_points,
676-
qface_neighbor_points);
673+
/*physical_points*/qface_points,
674+
/*reference_points*/qface_neighbor_points);
677675

678676
// Calculate the neighbor element shape functions at those locations
679677
fe_neighbor_face->reinit(neighbor, &qface_neighbor_points);

0 commit comments

Comments
 (0)