Skip to content

Commit b1f0b81

Browse files
committed
Remove debug output.
1 parent b7157ce commit b1f0b81

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

src/Infrastructure/Mesh/src/ESMCI_MeshDual.C

+4-3
Original file line numberDiff line numberDiff line change
@@ -752,6 +752,7 @@ namespace ESMCI {
752752
// More than 4 side, split
753753
if (elemType[e]>4) {
754754

755+
755756
// Get coordinates
756757
int crd_pos=0;
757758
for (int i=0; i<elemType[e]; i++) {
@@ -900,7 +901,7 @@ namespace ESMCI {
900901

901902
int nnodes = topo->num_nodes;
902903
std::vector<MeshObj*> nconnect(nnodes, static_cast<MeshObj*>(0));
903-
904+
904905
// The object
905906
UInt eid = elemId[e];
906907
MeshObj *elem = new MeshObj(MeshObj::ELEMENT, eid, e);
@@ -1650,9 +1651,9 @@ const MeshObjTopo *ElemType2Topo(int pdim, int sdim, int etype) {
16501651
// Resize
16511652
tmp_mdss.resize(new_num_ids);
16521653

1653-
// Now Sort the uniqued list by angle
1654+
// Now sort the uniqued list by angle
16541655
std::sort(tmp_mdss.begin(), tmp_mdss.end());
1655-
1656+
16561657
// Using the angle sorted tmp_mdss points make a loop and fill ids with it
16571658
make_id_loop_from_angle_ordered_pnts(mesh, tmp_mdss, tmp_pntss, ids);
16581659

src/Infrastructure/Mesh/tests/ESMF_MeshUTest.F90

+12-12
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ program ESMF_MeshUTest
118118

119119

120120
! This surrounds all the tests to make turning off everything but one test easier
121-
#if 0
121+
#if 1
122122

123123
!------------------------------------------------------------------------
124124

@@ -2179,13 +2179,13 @@ program ESMF_MeshUTest
21792179
call createTestMesh3x3wCrscntCnr(mesh, rc=localrc)
21802180
if (localrc .ne. ESMF_SUCCESS) rc=ESMF_FAILURE
21812181

2182-
call ESMF_MeshWrite(mesh, filename="crscntMesh", rc=rc)
2182+
!call ESMF_MeshWrite(mesh, filename="crscntMesh", rc=rc)
21832183

21842184
! Create dual mesh
21852185
meshDual=ESMF_MeshCreateDual(mesh, rc=localrc)
21862186
if (localrc .ne. ESMF_SUCCESS) rc=ESMF_FAILURE
21872187

2188-
call ESMF_MeshWrite(meshDual, filename="crscntMeshDual", rc=rc)
2188+
!call ESMF_MeshWrite(meshDual, filename="crscntMeshDual", rc=rc)
21892189

21902190
! Get rid of Meshes
21912191
call ESMF_MeshDestroy(mesh, rc=localrc)
@@ -2199,7 +2199,7 @@ program ESMF_MeshUTest
21992199
call ESMF_Test(((rc .eq. ESMF_SUCCESS) .and. correct), name, failMsg, result, ESMF_SRCLINE)
22002200
!-----------------------------------------------------------------------------
22012201

2202-
#if 0
2202+
#if 1
22032203

22042204
! mbmesh - tests fail
22052205
! element triangulation in native create not yet migrated to mbmesh
@@ -4825,9 +4825,9 @@ subroutine createTestMesh3x3wCrscntCnr(mesh, rc)
48254825
0.5,2.5, & ! 7
48264826
1.5,2.5, & ! 8
48274827
2.75,2.25,& ! 9
4828-
2.75,2.75,& ! 10
4829-
2.25,2.25,& ! 11
4830-
2.25,1.25,& ! 12
4828+
2.60,2.65,& ! 10
4829+
2.50,2.25,& ! 11
4830+
2.15,1.75,& ! 12
48314831
2.25,2.75,& ! 13
48324832
1.75,2.75/) ! 14
48334833

@@ -4842,7 +4842,7 @@ subroutine createTestMesh3x3wCrscntCnr(mesh, rc)
48424842
9,10,14,13, & ! 7
48434843
10,11,18,14, & ! 8
48444844
17,12,16, & ! 9
4845-
11,16,15, & ! 10
4845+
11,16,18, & ! 10
48464846
17,16,11, & ! 11
48474847
7,17,11, & ! 12
48484848
15,18,16, & ! 13
@@ -5077,9 +5077,9 @@ subroutine createTestMesh3x3wCrscntCnr(mesh, rc)
50775077
allocate(elemCoords(2*numElems))
50785078
elemCoords=(/2.5,1.5, & ! 6
50795079
2.75,2.25,& ! 9
5080-
2.75,2.75,& ! 10
5081-
2.25,2.25,& ! 11
5082-
2.25,1.25,& ! 12
5080+
2.60,2.65,& ! 10
5081+
2.50,2.25,& ! 11
5082+
2.15,1.75,& ! 12
50835083
2.25,2.75/) ! 13
50845084

50855085
!! elem conn
@@ -9240,7 +9240,7 @@ subroutine exhaustiveMeshDualTest(correct, rc)
92409240
if (rc /= ESMF_SUCCESS) return
92419241

92429242

9243-
call ESMF_MeshWrite(dualMesh, "dualMesh", rc=rc)
9243+
! call ESMF_MeshWrite(dualMesh, "dualMesh", rc=rc)
92449244

92459245
! Init correct
92469246
correct=.true.

0 commit comments

Comments
 (0)