source: molecuilder/src/Makefile.am@ 6acc8e4

Last change on this file since 6acc8e4 was 9565ec, checked in by Frederik Heber <heber@…>, 16 years ago

singleton class World introduced, contains only cell_size from class molecule.

  • class World is actually code from Till Crueger from his branch StructureRefactoring.
  • has been introduced here in minimalistic form to allow molecule::cell_size to be outsourced to World::cell_size
  • access to cell_size can be obtained from anyhwere by invoking World::get()->cell_size
  • INFO: cell_size was placed in class molecule for the fragmentation procedure where the cell_size had to be individually adapted to each fragment.
  • all appearances have been changed accordingly. Where appropriate we have employed a const pointer onto cell_size.

Signed-off-by: Frederik Heber <heber@…>

  • Property mode set to 100644
File size: 3.0 KB
RevLine 
[2e2a70]1ATOMSOURCE = atom.cpp atom_atominfo.cpp atom_bondedparticle.cpp atom_bondedparticleinfo.cpp atom_graphnode.cpp atom_graphnodeinfo.cpp atom_particleinfo.cpp atom_trajectoryparticle.cpp atom_trajectoryparticleinfo.cpp
2ATOMHEADER = atom.hpp atom_atominfo.hpp atom_bondedparticle.hpp atom_bondedparticleinfo.hpp atom_graphnode.hpp atom_graphnodeinfo.hpp atom_particleinfo.hpp atom_trajectoryparticle.hpp atom_trajectoryparticleinfo.hpp
3
[247d49]4LINALGSOURCE = gslmatrix.cpp gslvector.cpp linearsystemofequations.cpp
5LINALGHEADER = gslmatrix.hpp gslvector.hpp linearsystemofequations.hpp
[22b47e]6
[341850]7ANALYSISSOURCE = analysis_bonds.cpp analysis_correlation.cpp
8ANALYSISHEADER = analysis_bonds.hpp analysis_correlation.hpp
9
[9565ec]10SOURCE = ${ANALYSISSOURCE} ${ATOMSOURCE} bond.cpp bondgraph.cpp boundary.cpp config.cpp element.cpp ellipsoid.cpp errorlogger.cpp graph.cpp helpers.cpp info.cpp leastsquaremin.cpp linkedcell.cpp log.cpp logger.cpp memoryusageobserver.cpp moleculelist.cpp molecule.cpp molecule_dynamics.cpp molecule_fragmentation.cpp molecule_geometry.cpp molecule_graph.cpp molecule_pointcloud.cpp parser.cpp periodentafel.cpp tesselation.cpp tesselationhelpers.cpp triangleintersectionlist.cpp vector.cpp verbose.cpp World.cpp
11HEADER = ${ANALYSISHEADER} ${ATOMHEADER} bond.hpp bondgraph.hpp boundary.hpp config.hpp defs.hpp element.hpp ellipsoid.hpp errorlogger.hpp graph.hpp helpers.hpp info.hpp leastsquaremin.hpp linkedcell.hpp lists.hpp log.hpp logger.hpp memoryallocator.hpp memoryusageobserver.hpp molecule.hpp molecule_template.hpp parser.hpp periodentafel.hpp stackclass.hpp tesselation.hpp tesselationhelpers.hpp triangleintersectionlist.cpp vector.hpp verbose.hpp World.hpp
[6c09a4]12
[9c32a1]13BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB)
[afbb6c0]14INCLUDES = -I$(top_srcdir)/src/unittests
[6c09a4]15
[22b47e]16noinst_LIBRARIES = libmolecuilder.a libgslwrapper.a
[6c09a4]17bin_PROGRAMS = molecuilder joiner analyzer
[a0bcf1]18molecuilderdir = ${bindir}
[afbb6c0]19libmolecuilder_a_SOURCES = ${SOURCE} ${HEADER}
[22b47e]20libgslwrapper_a_SOURCES = ${LINALGSOURCE} ${LINALGHEADER}
[e08f45]21molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
[9c32a1]22molecuilder_LDFLAGS = $(BOOST_LIB)
[afbb6c0]23molecuilder_SOURCES = builder.cpp
[22b47e]24molecuilder_LDADD = libmolecuilder.a libgslwrapper.a
[afbb6c0]25joiner_SOURCES = joiner.cpp datacreator.cpp parser.cpp datacreator.hpp helpers.hpp parser.hpp periodentafel.hpp
26joiner_LDADD = libmolecuilder.a
27analyzer_SOURCES = analyzer.cpp datacreator.cpp parser.cpp helpers.hpp periodentafel.hpp parser.hpp datacreator.hpp
28analyzer_LDADD = libmolecuilder.a
[a0bcf1]29
[e71890]30#EXTRA_DIST = ${molecuilder_DATA}
[ef87ee]31
32FORCE:
33$(srcdir)/.git-version: FORCE
[b7f3f3]34 @if (test -d $(top_srcdir)/../.git && cd $(srcdir) && git describe HEAD) > .git-version-t 2>/dev/null \
[ef87ee]35 && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
36 mv -f .git-version-t $(srcdir)/.git-version; \
37 else \
38 rm -f .git-version-t; \
39 fi
40
41EXTRA_DIST = $(srcdir)/.git-version
42
43$(srcdir)/version.c: $(srcdir)/.git-version
44 echo "const char *ESPACKVersion = \"$(PACKAGE_NAME) -- git version: "`cat $(srcdir)/.git-version`"\";" > $@
45
46molecuilder_SOURCES += $(srcdir)/version.c
Note: See TracBrowser for help on using the repository browser.