$ j = 0 $ random_iteration: do $ j = j + 1 $ $ ! set up connectivity array and check if any cells are tangled $ local_tangled = 0 $ $ update_volume: do itet = 1,num_incident_tet $ $ if ( shared_flag(iv) ) then ! use global id's set above $ ic = ic2v(itet) $ $ !lookup vertex numbers, global cell and vertex id's $ call get_kt_row (msh%ov2c_sup, ic, iv2c) $ $ ! make a copy to dereference iv2c $ index_copy(1:4) = iv2c(1:4) $
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | iv | |||
type(mesh), | intent(inout) | :: | msh | |||
type(connectivity), | intent(in) | :: | c2v | |||
logical, | intent(in) | :: | shared_flag(:) | |||
logical, | intent(in) | :: | all_tets(:) |