Skip to content
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

Additional egs++ geometries and shapes #103

Merged
merged 9 commits into from
Jan 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions HEN_HOUSE/egs++/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ geometry_libs = egs_planes egs_cd_geometry egs_gtransformed egs_nd_geometry \
egs_box egs_genvelope egs_spheres egs_cylinders egs_iplanes \
egs_cones egs_gstack egs_prism egs_union egs_pyramid egs_conez\
egs_space egs_elliptic_cylinders egs_smart_envelope \
egs_vhp_geometry egs_octree egs_roundrect_cylinders
egs_vhp_geometry egs_octree egs_roundrect_cylinders \
egs_rz egs_autoenvelope egs_glib

source_libs = egs_collimated_source egs_isotropic_source egs_parallel_beam \
egs_point_source egs_source_collection egs_transformed_source \
Expand All @@ -61,7 +62,7 @@ source_libs = egs_collimated_source egs_isotropic_source egs_parallel_beam \

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
egs_voxelized_shape egs_spherical_shell egs_conical_shell

aobject_libs = egs_track_scoring egs_dose_scoring egs_radiative_splitting egs_phsp_scoring

Expand Down
90 changes: 90 additions & 0 deletions HEN_HOUSE/egs++/geometry/egs_autoenvelope/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@

###############################################################################
#
# EGSnrc egs++ makefile to build auto envelope geometry
# Copyright (C) 2016 Randle E. P. Taylor, Rowan M. Thomson,
# Marc J. P. Chamberland, D. W. O. Rogers
#
# 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: Randle Taylor, 2016
#
# Contributors: Marc Chamberland
# Rowan Thomson
# Dave Rogers
#
###############################################################################


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

SOBOL =
SOBOL_DEF =
SOBOL_H =
ifneq ("$(wildcard egs_sobol.cpp)","")
SOBOL = sobol egs_sobol
SOBOL_DEF = -DBUILD_SOBOL_DLL -DBUILD_AE_SOBOL -DHAS_SOBOL
SOBOL_H = sobol.h egs_sobol.h
endif

GZSTREAM =
GZSTREAM_DEF =
GZSTREAM_H =
GZSTREAM_LIB =
ifneq ("$(wildcard gzstream.cpp)","")
GZSTREAM = gzstream
GZSTREAM_DEF = -DBUILD_GZSTREAM -DHAS_GZSTREAM
GZSTREAM_H = gzstream.h
GZSTREAM_LIB = z
endif

DEFS = $(DEF1) -DBUILD_AENVELOPE_DLL $(SOBOL_DEF) $(GZSTREAM_DEF)


library = egs_autoenvelope
lib_files = egs_autoenvelope $(SOBOL) $(GZSTREAM)

link2_libs = egs_gtransformed egspp $(GZSTREAM_LIB)


include $(SPEC_DIR)egspp_libs.spec

$(make_depend)


$(DSO2)autoenvelope.$(obje): volcor.h $(GZSTREAM_H) \
..$(DSEP)egs_gtransformed$(DSEP)egs_gtransformed.h

$(ABS_DSO)$(libpre)egs_autoenvelope$(libext): volcor.h $(GZSTREAM_H) \
..$(DSEP)egs_gtransformed$(DSEP)egs_gtransformed.h

clean:
rm -f $(ABS_DSO)$(libpre)egs_autoenvelope$(libext) $(ABS_DSO)$(libpre)egs_sobol$(libext) $(ABS_DSO)$(libpre)sobol$(libext) \
$(ABS_DSO)$(libpre)gzstream$(libext) $(ABS_DSO)$(libpre)gzstream$(libext)
rm -f $(DSO2)autoenvelope.$(obje) $(DSO2)sobol.$(obje) $(DSO2)egs_sobol.$(obje) \
$(DSO2)gzstream.$(obje) $(DSO2)gzstream.$(obje) \

touchup:
touch egs_autoenvelope.cpp

fresh: clean touchup $(lib_objects)


.PHONY: clean touchup fresh
Loading