File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -3239,11 +3239,12 @@ LibMesh::LibMesh(libMesh::MeshBase& input_mesh, double length_multiplier)
32393239}
32403240
32413241
3242- void LibMesh::set_mesh_tally_amalgamation (std::string cluster_element_integer_name){
3242+ void
3243+ LibMesh::set_mesh_tally_amalgamation (std::string cluster_element_integer_name){
32433244
3244- cluster_element_integer_index_ = input_mesh. has_elem_integer (cluster_element_integer_name)
3245- ? input_mesh. get_elem_integer_index (cluster_element_integer_name)
3246- : -1 ;
3245+ cluster_element_integer_index_ = m_-> has_elem_integer (cluster_element_integer_name)
3246+ ? m_-> get_elem_integer_index (cluster_element_integer_name)
3247+ : -1 ;
32473248 amalgamation_ = (cluster_element_integer_index_ != -1 );
32483249
32493250 // should we add a warning if amalgamation is false?
@@ -3256,7 +3257,8 @@ void LibMesh::set_mesh_tally_amalgamation(std::string cluster_element_integer_na
32563257 // adding clustering map
32573258 for (auto it = m_->active_elements_begin (); it != m_->active_elements_end (); it++) {
32583259
3259- auto cluster_elem = *it;
3260+ auto elem = *it;
3261+ auto cluster_elem = elem;
32603262 unsigned int cluster_id = elem->get_extra_integer (cluster_element_integer_index_);
32613263
32623264 if (cluster_id != -1 ) {
@@ -3302,7 +3304,6 @@ void LibMesh::build_eqn_sys()
33023304
33033305// intialize from mesh file
33043306void LibMesh::initialize ()
3305- void LibMesh::initialize()
33063307{
33073308 if (!settings::libmesh_comm) {
33083309 fatal_error (" Attempting to use an unstructured mesh without a libMesh "
You can’t perform that action at this time.
0 commit comments