Skip to content

Commit

Permalink
Merge #418: add a phase-space scoring object
Browse files Browse the repository at this point in the history
  • Loading branch information
ftessier authored Oct 4, 2018
2 parents faaf550 + c4cfe75 commit 1e16134
Show file tree
Hide file tree
Showing 8 changed files with 1,339 additions and 3 deletions.
2 changes: 1 addition & 1 deletion HEN_HOUSE/egs++/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ shape_libs = egs_circle egs_ellipse egs_extended_shape egs_gaussian_shape \
egs_line_shape egs_polygon_shape egs_rectangle egs_shape_collection \
egs_voxelized_shape

aobject_libs = egs_track_scoring egs_dose_scoring egs_radiative_splitting
aobject_libs = egs_track_scoring egs_dose_scoring egs_radiative_splitting egs_phsp_scoring

all_libs = $(geometry_libs) $(source_libs) $(shape_libs) $(aobject_libs)
lib_objects = $(addprefix $(DSO1), $(addsuffix .$(obje), $(all_libs)))
Expand Down
53 changes: 53 additions & 0 deletions HEN_HOUSE/egs++/ausgab_objects/egs_phsp_scoring/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@

###############################################################################
#
# EGSnrc egs++ makefile to build phase space scoring object
# Copyright (C) 2015 National Research Council Canada
#
# This file is part of EGSnrc.
#
# EGSnrc is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the
# Free Software Foundation, either version 3 of the License, or (at your
# option) any later version.
#
# EGSnrc is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
# more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with EGSnrc. If not, see <http://www.gnu.org/licenses/>.
#
###############################################################################
#
# Author: Blake Walters, 2018
#
# Contributors:
#
###############################################################################


include $(EGS_CONFIG)
include $(SPEC_DIR)egspp.spec
include $(SPEC_DIR)egspp_$(my_machine).conf

DEFS = $(DEF1) -DBUILD_PHSP_SCORING_DLL

library = egs_phsp_scoring
lib_files = egs_phsp_scoring
my_deps = $(common_ausgab_deps)
extra_dep = $(addprefix $(DSOLIBS), $(my_deps))

include $(SPEC_DIR)egspp_libs.spec

INC2 = -I$(IEGS2) -I..$(DSEP).. -I$(HEN_HOUSE)iaea_phsp

#this has been redefined to include iaea_phsp libraries
link2_libs = egspp iaea_phsp

$(make_depend)

test:
@echo "common_h2: $(common_h2)"
@echo "extra_dep: $(extra_dep)"
Loading

0 comments on commit 1e16134

Please sign in to comment.