- Timestamp:
- Jan 8, 2010, 11:56:51 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/geometry/solids/specific/src/G4TessellatedSolid.cc
r1058 r1228 25 25 // ******************************************************************** 26 26 // 27 // $Id: G4TessellatedSolid.cc,v 1.1 8 2008/03/13 11:58:28gcosmo Exp $28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // $Id: G4TessellatedSolid.cc,v 1.19 2009/04/27 08:06:27 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% … … 520 520 } while (nearParallel && m!=maxTries); 521 521 522 #ifdef G4VERBOSE 522 523 if (m == maxTries) 523 524 { … … 528 529 // something wrong with geometry. 529 530 // 531 G4cout.precision(16) ; 532 G4cout << G4endl ; 533 G4cout << "Solid name = " << GetName() << G4endl; 534 G4cout << "Geometry Type = " << geometryType << G4endl; 535 G4cout << "Number of facets = " << facets.size() << G4endl; 536 G4cout << "Position:" << G4endl << G4endl ; 537 G4cout << "p.x() = " << p.x()/mm << " mm" << G4endl ; 538 G4cout << "p.y() = " << p.y()/mm << " mm" << G4endl ; 539 G4cout << "p.z() = " << p.z()/mm << " mm" << G4endl << G4endl ; 530 540 G4Exception("G4TessellatedSolid::Inside()", 531 "UnknownInsideOutside ", FatalException,541 "UnknownInsideOutside-MaxTries", JustWarning, 532 542 "Cannot determine whether point is inside or outside volume!"); 533 543 } 544 #endif 534 545 // 535 546 // … … 550 561 locationprime = kInside; 551 562 552 if (i == 0) location = locationprime; 563 if (i == 0) { location = locationprime; } 564 #ifdef G4VERBOSE 553 565 else if (locationprime != location) 554 566 { … … 558 570 // geometry is not constructed correctly. 559 571 // 572 G4cout.precision(16) ; 573 G4cout << G4endl ; 574 G4cout << "Solid name = " << GetName() << G4endl; 575 G4cout << "Geometry Type = " << geometryType << G4endl; 576 G4cout << "Number of facets = " << facets.size() << G4endl; 577 G4cout << "Position:" << G4endl << G4endl ; 578 G4cout << "p.x() = " << p.x()/mm << " mm" << G4endl ; 579 G4cout << "p.y() = " << p.y()/mm << " mm" << G4endl ; 580 G4cout << "p.z() = " << p.z()/mm << " mm" << G4endl << G4endl ; 560 581 G4Exception("G4TessellatedSolid::Inside()", 561 "UnknownInsideOutside", FatalException,582 "UnknownInsideOutside", JustWarning, 562 583 "Cannot determine whether point is inside or outside volume!"); 563 584 } 585 #endif 564 586 } 565 587
Note: See TracChangeset
for help on using the changeset viewer.