-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Geant4 v11 fix #907
Merged
pshriwise
merged 29 commits into
svalinn:develop
from
ahnaf-tahmid-chowdhury:fix-geant4-build
Dec 7, 2023
Merged
Geant4 v11 fix #907
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
2bf5f31
find geant4 manual mode
ahnaf-tahmid-chowdhury 2b1fc23
remove moab condition
ahnaf-tahmid-chowdhury 0c4a183
remove moab version condition
ahnaf-tahmid-chowdhury 8a6af96
rearrange logger, then require_density
ahnaf-tahmid-chowdhury c162950
remove moab conditions
ahnaf-tahmid-chowdhury 47cd28b
new condition Geant4_VERSION GREATER_EQUAL 11.0
ahnaf-tahmid-chowdhury 71a1763
removed itaps and added PyNE's dagmc by @gonuke
ahnaf-tahmid-chowdhury 627be18
GEANT4_GT_11
ahnaf-tahmid-chowdhury 0e17740
GEANT4_GT_11
ahnaf-tahmid-chowdhury 55292f7
GEANT4_GT_10_6 uill use MeshScoreMap
ahnaf-tahmid-chowdhury a1d0362
geant4 v11 support
ahnaf-tahmid-chowdhury 0f5239d
Patch to compile with Geant4 11.x
ahnaf-tahmid-chowdhury f7c4acf
Geant4ConfigVersion
ahnaf-tahmid-chowdhury 4c0302e
find a volume in a DAGMC instance if moab >5.2
ahnaf-tahmid-chowdhury 5737e45
geant4 11.1.2 added
ahnaf-tahmid-chowdhury 968f6f7
geant4_version=11.1.2
ahnaf-tahmid-chowdhury 6d8c89d
follow dagmc format
ahnaf-tahmid-chowdhury 8f583c6
add const
ahnaf-tahmid-chowdhury 8ce9f3b
add const
ahnaf-tahmid-chowdhury 61f28e5
soft reset
ahnaf-tahmid-chowdhury 0769e84
geant4 11.1.2
ahnaf-tahmid-chowdhury b4b5a7d
sefault geant4 11.1.2
ahnaf-tahmid-chowdhury fc1507c
new stage geant4
ahnaf-tahmid-chowdhury 510445f
add 11.1.2 geant4
ahnaf-tahmid-chowdhury 928b9f0
geant4 11.1.2
ahnaf-tahmid-chowdhury ee0b75b
soft reset
ahnaf-tahmid-chowdhury 42b98d3
Merge branch 'svalinn:develop' into fix-geant4-build
ahnaf-tahmid-chowdhury c0fc92c
Update cmake/FindGeant4.cmake
ahnaf-tahmid-chowdhury fa54fff
find path for geant4 11+
ahnaf-tahmid-chowdhury File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,6 +55,7 @@ jobs: | |
] | ||
geant_version : [ | ||
10.7.4, | ||
11.1.2 | ||
] | ||
|
||
container: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,11 @@ void ExN01UserScoreWriter::DumpAllQuantitiesToFile(const G4String& fileName, | |
G4cout << "Dumping mesh " << fScoringMesh->GetWorldName() << " to file" | ||
<< G4endl; | ||
|
||
// retrieve the map | ||
// retrieve the map | ||
#ifdef GEANT4_GT_10_6 | ||
using MeshScoreMap = G4VScoringMesh::MeshScoreMap; | ||
#endif | ||
|
||
Comment on lines
+33
to
+37
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. wasn't this already in an earlier PR? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As I recall, this should be required for >10.6 and It may need to be available in earlier PR. |
||
MeshScoreMap scMap = fScoringMesh->GetScoreMap(); | ||
|
||
// get the number of bins | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure if we need/want to update the default yet - I'll think about it as I review the rest of the PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will be testing with both