libMesh/libmesh: coverage diff

Base 0a0a9d Head #4538 c3bcaa
Total Total +/- New
Rate 65.94% 65.91% -0.02% 100.00%
Hits 79392 79272 -120 3
Misses 41014 40997 -17 0
Filename Stmts Miss Cover
include/geom/edge_edge4.h 0 -5 +26.32%
src/fe/fe_abstract.C -137 -8 -6.83%
src/geom/reference_elem.C 0 -2 +2.56%
src/mesh/distributed_mesh.C 0 -2 +0.25%
TOTAL -137 -17 -0.02%
code
coverage unchanged
code
coverage increased
code
coverage decreased
+
line added or modified

include/geom/edge_edge4.h

65  
66  
67  
68  
69  
70  
71  
72  
73  
74  
75  
76  
   * \returns The \p Point associated with local \p Node \p i,
   * in master element rather than physical coordinates.
   */
  virtual Point master_point (const unsigned int i) const override
  {
    libmesh_assert_less(i, this->n_nodes());
    if (i < 2)
      return Point(2.0f*Real(i)-1.0f,0,0);
    return Point((Real(2)*Real(i)-5)/3,0,0);
  }

  /**

src/fe/fe_abstract.C

409  
410  
411  
412 +
413  
414 +
415 +
416  
417  
418  
419  

  // For any element with a well-defined n_nodes we should also have a
  // well-defined reference element.
  const Elem & ref_elem = ReferenceElem::get(itemType);

  for (auto i : make_range(n_nodes))
    nodes[i] = ref_elem.point(i);
}



src/geom/reference_elem.C

257  
258  
259  
260  
261  
262  
263  

  // For shell elements, use non shell type as the base type
  if (type_in == TRISHELL3)
    base_type = TRI3;

  if (type_in == QUADSHELL4)
    base_type = QUAD4;
266  
267  
268  
269  
270  
271  
272  
    base_type = QUAD8;

  if (type_in == QUADSHELL9)
    base_type = QUAD9;

  init_ref_elem_table();

src/mesh/distributed_mesh.C

1606  
1607  
1608  
1609  
1610  
1611  
1612  
1613  
1614  
1615  
1616  
1617  
1618  
1619  
                      sender_could_become_owner)
                    {
                      if (it != repartitioned_node_pids.end() &&
                          pid < it->second)
                        it->second = pid;
                      else
                        repartitioned_node_pids[n] = pid;
                    }
                  else
                    if (it == repartitioned_node_pids.end())
                      repartitioned_node_pids[n] =
                        DofObject::invalid_processor_id;

                  repartitioned_node_sets_to_push[pid].insert(n);