...
 
Commits (4)
......@@ -23,7 +23,7 @@ include_directories (
${CMAKE_CURRENT_SOURCE_DIR}
)
add_opal_sources(${_SRCS})
add_opal_sources (${_SRCS})
set (HDRS
Action.h
......@@ -47,4 +47,12 @@ set (HDRS
ValueDefinition.h
)
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/AbstractObjects")
\ No newline at end of file
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/AbstractObjects")
# vi: set et ts=4 sw=4 sts=4:
# Local Variables:
# mode: cmake
# cmake-tab-width: 4
# indent-tabs-mode: nil
# End:
set (_SRCS
QRSolver.cpp
)
QRSolver.cpp
)
include_directories (
${CMAKE_CURRENT_SOURCE_DIR}
)
${CMAKE_CURRENT_SOURCE_DIR}
)
add_opal_sources(${_SRCS})
set (HDRS
QRSolver.h
)
)
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Algebra")
\ No newline at end of file
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Algebra")
# vi: set et ts=4 sw=4 sts=4:
# Local Variables:
# mode: cmake
# cmake-tab-width: 4
# indent-tabs-mode: nil
# End:
set (_SRCS
CavityAutophaser.cpp
Ctunes.cpp
IndexMap.cpp
Hamiltonian.cpp
LieMapper.cpp
lomb.cpp
NilTracker.cpp
MapAnalyser.cpp
MPSplitIntegrator.cpp
MultiBunchHandler.cpp
OrbitThreader.cpp
ParallelCyclotronTracker.cpp
ParallelSliceTracker.cpp
ParallelTTracker.cpp
StepSizeConfig.cpp
ThickMapper.cpp
ThickTracker.cpp
TransportMapper.cpp
bet/EnvelopeSlice.cpp
bet/EnvelopeBunch.cpp
bet/profile.cpp
bet/math/integrate.cpp
bet/math/interpol.cpp
bet/math/rk.cpp
bet/math/functions.cpp
bet/math/linfit.cpp
bet/math/root.cpp
bet/math/savgol.cpp
bet/math/svdfit.cpp
bet/BetError.cpp
)
CavityAutophaser.cpp
Ctunes.cpp
IndexMap.cpp
Hamiltonian.cpp
LieMapper.cpp
lomb.cpp
NilTracker.cpp
MapAnalyser.cpp
MPSplitIntegrator.cpp
MultiBunchHandler.cpp
OrbitThreader.cpp
ParallelCyclotronTracker.cpp
ParallelSliceTracker.cpp
ParallelTTracker.cpp
StepSizeConfig.cpp
ThickMapper.cpp
ThickTracker.cpp
TransportMapper.cpp
bet/EnvelopeSlice.cpp
bet/EnvelopeBunch.cpp
bet/profile.cpp
bet/math/integrate.cpp
bet/math/interpol.cpp
bet/math/rk.cpp
bet/math/functions.cpp
bet/math/linfit.cpp
bet/math/root.cpp
bet/math/savgol.cpp
bet/math/svdfit.cpp
bet/BetError.cpp
)
include_directories (
${CMAKE_CURRENT_SOURCE_DIR}
)
${CMAKE_CURRENT_SOURCE_DIR}
)
add_opal_sources(${_SRCS})
......@@ -68,6 +68,14 @@ set (HDRS
bet/math/root.h
bet/math/savgol.h
bet/math/svdfit.h
)
)
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Algorithms")
\ No newline at end of file
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Algorithms")
# vi: set et ts=4 sw=4 sts=4:
# Local Variables:
# mode: cmake
# cmake-tab-width: 4
# indent-tabs-mode: nil
# End:
......@@ -2,17 +2,18 @@ set (_SRCS
AmrBoxLib.cpp
AmrObject.cpp
AmrYtWriter.cpp
)
)
include_directories (
${CMAKE_CURRENT_SOURCE_DIR}
)
${CMAKE_CURRENT_SOURCE_DIR}
)
add_opal_sources(${_SRCS})
add_compile_options (-Wno-unused-variable
-Wno-unused-but-set-variable
-Wno-maybe-uninitialized)
-Wno-unused-but-set-variable
-Wno-maybe-uninitialized
)
set (HDRS
AbstractAmrWriter.h
......@@ -23,6 +24,14 @@ set (HDRS
BoxLibLayout.hpp
BoxLibParticle.h
BoxLibParticle.hpp
)
)
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Amr")
\ No newline at end of file
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Amr")
# vi: set et ts=4 sw=4 sts=4:
# Local Variables:
# mode: cmake
# cmake-tab-width: 4
# indent-tabs-mode: nil
# End:
set (_SRCS
Split.cpp
Aperture.cpp
)
Split.cpp
Aperture.cpp
)
include_directories (
${CMAKE_CURRENT_SOURCE_DIR}
)
${CMAKE_CURRENT_SOURCE_DIR}
)
add_opal_sources(${_SRCS})
add_opal_sources (${_SRCS})
set (HDRS
Aperture.h
Split.h
)
)
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Aperture")
\ No newline at end of file
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Aperture")
# vi: set et ts=4 sw=4 sts=4:
# Local Variables:
# mode: cmake
# cmake-tab-width: 4
# indent-tabs-mode: nil
# End:
......@@ -12,13 +12,13 @@ set (_SRCS
TableRow.cpp
TokenList.cpp
TokenListArray.cpp
)
)
include_directories (
${CMAKE_CURRENT_SOURCE_DIR}
)
${CMAKE_CURRENT_SOURCE_DIR}
)
add_opal_sources(${_SRCS})
add_opal_sources (${_SRCS})
set (HDRS
Attributes.h
......@@ -34,6 +34,14 @@ set (HDRS
TableRow.h
TokenListArray.h
TokenList.h
)
)
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Attributes")
\ No newline at end of file
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Attributes")
# vi: set et ts=4 sw=4 sts=4:
# Local Variables:
# mode: cmake
# cmake-tab-width: 4
# indent-tabs-mode: nil
# End:
set (_SRCS
Call.cpp
Dump.cpp
DumpFields.cpp
DumpEMFields.cpp
Echo.cpp
Help.cpp
Option.cpp
Save.cpp
Select.cpp
Show.cpp
Stop.cpp
Quit.cpp
PSystem.cpp
System.cpp
Title.cpp
Value.cpp
What.cpp
)
Call.cpp
Dump.cpp
DumpFields.cpp
DumpEMFields.cpp
Echo.cpp
Help.cpp
Option.cpp
Save.cpp
Select.cpp
Show.cpp
Stop.cpp
Quit.cpp
PSystem.cpp
System.cpp
Title.cpp
Value.cpp
What.cpp
)
include_directories (
${CMAKE_CURRENT_SOURCE_DIR}
)
${CMAKE_CURRENT_SOURCE_DIR}
)
add_opal_sources(${_SRCS})
......@@ -42,6 +42,14 @@ set (HDRS
Title.h
Value.h
What.h
)
)
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/BasicActions")
# vi: set et ts=4 sw=4 sts=4:
# Local Variables:
# mode: cmake
# cmake-tab-width: 4
# indent-tabs-mode: nil
# End:
......@@ -18,8 +18,9 @@ if (ENABLE_AMR)
${Fortran_LIBS}
${AMREX_EXTRA_Fortran_LINK_LINE}
${AMREX_LIBRARIES}
)
else (ENABLE_AMR)
)
else ()
set(AMR_LIBS "")
endif ()
......
......@@ -39,9 +39,7 @@
#include <iostream>
#include <new>
#include <cstring>
#ifndef IPPL_GPLUSPLUS
#include <functional>
#endif
// Helper functions.
......@@ -529,7 +527,7 @@ template <class T>
Tps<T> &Tps<T>::operator*=(const T &rhs) {
unique();
T *x = rep->data();
std::transform(x, x + rep->len, x, std::bind2nd(std::multiplies<T>(), rhs));
std::transform(x, x + rep->len, x, std::bind(std::multiplies<T>(), std::placeholders::_1, rhs));
return *this;
}
......@@ -538,7 +536,7 @@ template <class T>
Tps<T> &Tps<T>::operator/=(const T &rhs) {
if(rhs == T(0)) throw DivideError("Tps::operator/()");
T *x = rep->data();
std::transform(x, x + rep->len, x, std::bind2nd(std::divides<T>(), rhs));
std::transform(x, x + rep->len, x, std::bind(std::divides<T>(), std::placeholders::_1, rhs));
return *this;
}
......@@ -879,7 +877,7 @@ Tps<T> Tps<T>::multiply(const Tps<T> &rhs, int trunc) const {
const T y = rhs.rep->data()[0];
T *z = result.rep->data();
std::transform(x, x + rep->len, z,
std::bind2nd(std::multiplies<T>(), y));
std::bind(std::multiplies<T>(), std::placeholders::_1, y));
return result;
}
} else {
......@@ -889,7 +887,7 @@ Tps<T> Tps<T>::multiply(const Tps<T> &rhs, int trunc) const {
const T *y = rhs.rep->data();
T *z = result.rep->data();
std::transform(y, y + rep->len, z,
std::bind2nd(std::multiplies<T>(), x));
std::bind(std::multiplies<T>(), std::placeholders::_1, x));
return result;
}
}
......@@ -1098,4 +1096,4 @@ template <class T> inline
Tps<T>::Tps(TpsRep<T> *d): rep(d)
{}
#endif // CLASSIC_Tps_CC
\ No newline at end of file
#endif // CLASSIC_Tps_CC
set (_SRCS
Distribution.cpp
LaserProfile.cpp
)
Distribution.cpp
LaserProfile.cpp
)
include_directories (
${CMAKE_CURRENT_SOURCE_DIR}
)
${CMAKE_CURRENT_SOURCE_DIR}
)
add_opal_sources(${_SRCS})
......@@ -18,6 +18,14 @@ set (HDRS
matrix_vector_operation.h
rdm.h
SigmaGenerator.h
)
)
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Distribution")
\ No newline at end of file
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Distribution")
# vi: set et ts=4 sw=4 sts=4:
# Local Variables:
# mode: cmake
# cmake-tab-width: 4
# indent-tabs-mode: nil
# End:
set (_SRCS
Edit.cpp
EditCmd.cpp
EditCycle.cpp
EditEnd.cpp
EditFlatten.cpp
EditInstall.cpp
EditMove.cpp
EditParser.cpp
EditReflect.cpp
EditRemove.cpp
EditReplace.cpp
EditSelect.cpp
)
Edit.cpp
EditCmd.cpp
EditCycle.cpp
EditEnd.cpp
EditFlatten.cpp
EditInstall.cpp
EditMove.cpp
EditParser.cpp
EditReflect.cpp
EditRemove.cpp
EditReplace.cpp
EditSelect.cpp
)
include_directories (
${CMAKE_CURRENT_SOURCE_DIR}
)
${CMAKE_CURRENT_SOURCE_DIR}
)
add_opal_sources(${_SRCS})
......@@ -32,6 +32,14 @@ set (HDRS
EditRemove.h
EditReplace.h
EditSelect.h
)
)
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Editor")
\ No newline at end of file
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Editor")
# vi: set et ts=4 sw=4 sts=4:
# Local Variables:
# mode: cmake
# cmake-tab-width: 4
# indent-tabs-mode: nil
# End:
set (_SRCS
AttCell.cpp
OpalBeamStripping.cpp
OpalBend.cpp
OpalCavity.cpp
OpalTravelingWave.cpp
OpalCCollimator.cpp
OpalCyclotron.cpp
OpalDrift.cpp
OpalECollimator.cpp
OpalFlexibleCollimator.cpp
OpalDegrader.cpp
OpalElement.cpp
OpalHKicker.cpp
OpalHMonitor.cpp
OpalInstrument.cpp
OpalKicker.cpp
OpalMarker.cpp
OpalMonitor.cpp
OpalMultipole.cpp
OpalMultipoleT.cpp
OpalMultipoleTStraight.cpp
OpalMultipoleTCurvedConstRadius.cpp
OpalMultipoleTCurvedVarRadius.cpp
OpalOctupole.cpp
OpalOffset/OpalLocalCylindricalOffset.cpp
OpalOffset/OpalLocalCartesianOffset.cpp
OpalOffset/OpalGlobalCylindricalOffset.cpp
OpalOffset/OpalGlobalCartesianOffset.cpp
OpalPatch.cpp
OpalProbe.cpp
OpalPepperPot.cpp
OpalPolynomialTimeDependence.cpp
OpalQuadrupole.cpp
OpalRBend.cpp
OpalRBend3D.cpp
OpalRCollimator.cpp
OpalRingDefinition.cpp
OpalSBend.cpp
OpalSBend3D.cpp
OpalScalingFFAMagnet.cpp
OpalSeparator.cpp
OpalSeptum.cpp
OpalSextupole.cpp
OpalSlit.cpp
OpalSolenoid.cpp
OpalSource.cpp
OpalSplineTimeDependence.cpp
OpalSRot.cpp
OpalVariableRFCavity.cpp
OpalVariableRFCavityFringeField.cpp
OpalVKicker.cpp
OpalVMonitor.cpp
OpalYRot.cpp
OpalBeamline.cpp
OpalParallelPlate.cpp
OpalCyclotronValley.cpp
OpalStripper.cpp
)
AttCell.cpp
OpalBeamStripping.cpp
OpalBend.cpp
OpalCavity.cpp
OpalTravelingWave.cpp
OpalCCollimator.cpp
OpalCyclotron.cpp
OpalDrift.cpp
OpalECollimator.cpp
OpalFlexibleCollimator.cpp
OpalDegrader.cpp
OpalElement.cpp
OpalHKicker.cpp
OpalHMonitor.cpp
OpalInstrument.cpp
OpalKicker.cpp
OpalMarker.cpp
OpalMonitor.cpp
OpalMultipole.cpp
OpalMultipoleT.cpp
OpalMultipoleTStraight.cpp
OpalMultipoleTCurvedConstRadius.cpp
OpalMultipoleTCurvedVarRadius.cpp
OpalOctupole.cpp
OpalOffset/OpalLocalCylindricalOffset.cpp
OpalOffset/OpalLocalCartesianOffset.cpp
OpalOffset/OpalGlobalCylindricalOffset.cpp
OpalOffset/OpalGlobalCartesianOffset.cpp
OpalPatch.cpp
OpalProbe.cpp
OpalPepperPot.cpp
OpalPolynomialTimeDependence.cpp
OpalQuadrupole.cpp
OpalRBend.cpp
OpalRBend3D.cpp
OpalRCollimator.cpp
OpalRingDefinition.cpp
OpalSBend.cpp
OpalSBend3D.cpp
OpalScalingFFAMagnet.cpp
OpalSeparator.cpp
OpalSeptum.cpp
OpalSextupole.cpp
OpalSlit.cpp
OpalSolenoid.cpp
OpalSource.cpp
OpalSplineTimeDependence.cpp
OpalSRot.cpp
OpalVariableRFCavity.cpp
OpalVariableRFCavityFringeField.cpp
OpalVKicker.cpp
OpalVMonitor.cpp
OpalYRot.cpp
OpalBeamline.cpp
OpalParallelPlate.cpp
OpalCyclotronValley.cpp
OpalStripper.cpp
)
include_directories (
${CMAKE_CURRENT_SOURCE_DIR}
)
${CMAKE_CURRENT_SOURCE_DIR}
)
add_opal_sources(${_SRCS})
add_opal_sources (${_SRCS})
set (HDRS
AttCell.h
......@@ -121,6 +121,14 @@ set (HDRS
OpalOffset/OpalGlobalCylindricalOffset.h
OpalOffset/OpalLocalCartesianOffset.h
OpalOffset/OpalLocalCylindricalOffset.h
)
)
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Elements/OpalOffset")
# vi: set et ts=4 sw=4 sts=4:
# Local Variables:
# mode: cmake
# cmake-tab-width: 4
# indent-tabs-mode: nil
# End:
......@@ -6,13 +6,13 @@ set (_SRCS
SCell.cpp
SFunction.cpp
SHash.cpp
)
)
include_directories (
${CMAKE_CURRENT_SOURCE_DIR}
)
${CMAKE_CURRENT_SOURCE_DIR}
)
add_opal_sources(${_SRCS})
add_opal_sources (${_SRCS})
set (HDRS
AAutomatic.h
......@@ -45,6 +45,14 @@ set (HDRS
TFunction0.h
TFunction1.h
TFunction2.h
)
)
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Expressions")
\ No newline at end of file
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Expressions")
# vi: set et ts=4 sw=4 sts=4:
# Local Variables:
# mode: cmake
# cmake-tab-width: 4
# indent-tabs-mode: nil
# End:
set (_SRCS
FlatWriter.cpp
Line.cpp
LineTemplate.cpp
Replacer.cpp
Sequence.cpp
SequenceMember.cpp
SequenceParser.cpp
SequenceTemplate.cpp
)
FlatWriter.cpp
Line.cpp
LineTemplate.cpp
Replacer.cpp
Sequence.cpp
SequenceMember.cpp
SequenceParser.cpp
SequenceTemplate.cpp
)
include_directories (
${CMAKE_CURRENT_SOURCE_DIR}
)
${CMAKE_CURRENT_SOURCE_DIR}
)
add_opal_sources(${_SRCS})
......@@ -24,6 +24,14 @@ set (HDRS
SequenceMember.h
SequenceParser.h
SequenceTemplate.h
)
)
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Lines")
\ No newline at end of file
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Lines")
# vi: set et ts=4 sw=4 sts=4:
# Local Variables:
# mode: cmake
# cmake-tab-width: 4
# indent-tabs-mode: nil
# End:
......@@ -13,11 +13,11 @@ set (_SRCS
Migrad.cpp
Simplex.cpp
VaryCmd.cpp
)
)
include_directories (
${CMAKE_CURRENT_SOURCE_DIR}
)
${CMAKE_CURRENT_SOURCE_DIR}
)
add_opal_sources(${_SRCS})
......@@ -38,6 +38,14 @@ set (HDRS
Migrad.h
Simplex.h
VaryCmd.h
)
)
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Match")
\ No newline at end of file
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Match")
# vi: set et ts=4 sw=4 sts=4:
# Local Variables:
# mode: cmake
# cmake-tab-width: 4
# indent-tabs-mode: nil
# End:
set (_SRCS
Configure.cpp
)
Configure.cpp
)
include_directories (
${CMAKE_CURRENT_SOURCE_DIR}
)
${CMAKE_CURRENT_SOURCE_DIR}
)
add_opal_sources(${_SRCS})
add_opal_sources (${_SRCS})
set (HDRS
Configure.h
)
)
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/OpalConfigure")
\ No newline at end of file
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/OpalConfigure")
# vi: set et ts=4 sw=4 sts=4:
# Local Variables:
# mode: cmake
# cmake-tab-width: 4
# indent-tabs-mode: nil
# End:
set (_SRCS
CompoundStatement.cpp
IfStatement.cpp
Macro.cpp
MacroCmd.cpp
MacroStream.cpp
OpalParser.cpp
WhileStatement.cpp
)
CompoundStatement.cpp
IfStatement.cpp
Macro.cpp
MacroCmd.cpp
MacroStream.cpp
OpalParser.cpp
WhileStatement.cpp
)
include_directories (
${CMAKE_CURRENT_SOURCE_DIR}
)
${CMAKE_CURRENT_SOURCE_DIR}
)
add_opal_sources(${_SRCS})
......@@ -22,6 +22,14 @@ set (HDRS
MacroStream.h
OpalParser.h
WhileStatement.h
)
)
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/OpalParser")
\ No newline at end of file
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/OpalParser")
# vi: set et ts=4 sw=4 sts=4:
# Local Variables:
# mode: cmake
# cmake-tab-width: 4
# indent-tabs-mode: nil
# End:
......@@ -4,11 +4,11 @@ set (_SRCS
Objective.cpp
Constraint.cpp
OpalSimulation.cpp
)
)
include_directories (
${CMAKE_CURRENT_SOURCE_DIR}
)
${CMAKE_CURRENT_SOURCE_DIR}
)
add_opal_sources(${_SRCS})
......@@ -17,6 +17,14 @@ set (HDRS
DVar.h
Objective.h
Constraint.h
)
)
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Optimize")
\ No newline at end of file
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Optimize")
# vi: set et ts=4 sw=4 sts=4:
# Local Variables:
# mode: cmake
# cmake-tab-width: 4
# indent-tabs-mode: nil
# End:
set (_SRCS
Dynamic.cpp
MakeSequence.cpp
SetIntegrator.cpp
Static.cpp
)
Dynamic.cpp
MakeSequence.cpp
SetIntegrator.cpp
Static.cpp
)
include_directories (
${CMAKE_CURRENT_SOURCE_DIR}
)
${CMAKE_CURRENT_SOURCE_DIR}
)
add_opal_sources(${_SRCS})
......@@ -16,6 +16,14 @@ set (HDRS
MakeSequence.h
SetIntegrator.h
Static.h
)
)
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/PhysicsActions")
\ No newline at end of file
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/PhysicsActions")
# vi: set et ts=4 sw=4 sts=4:
# Local Variables:
# mode: cmake
# cmake-tab-width: 4
# indent-tabs-mode: nil
# End:
......@@ -3,11 +3,11 @@ set (_SRCS
RNGStream.cpp
SampleCmd.cpp
Sampler.cpp
)
)
include_directories (
${CMAKE_CURRENT_SOURCE_DIR}
)
${CMAKE_CURRENT_SOURCE_DIR}
)
add_opal_sources(${_SRCS})
......@@ -27,6 +27,14 @@ set (HDRS
SampleWorker.h
SamplingMethod.h
Uniform.h
)
)
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Sample")
\ No newline at end of file
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Sample")
# vi: set et ts=4 sw=4 sts=4:
# Local Variables:
# mode: cmake
# cmake-tab-width: 4
# indent-tabs-mode: nil
# End:
set (_SRCS
AmrMultiGrid.cpp
AmrSmoother.cpp
)
)
include_directories (
${CMAKE_CURRENT_SOURCE_DIR}
)
${CMAKE_CURRENT_SOURCE_DIR}
)
add_opal_sources(${_SRCS})
......@@ -41,7 +41,15 @@ set (HDRS
MueLuBottomSolver.hpp
MueLuPreconditioner.h
MueLuPreconditioner.hpp
)
)
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Solvers/AMR_MG/")
# vi: set et ts=4 sw=4 sts=4:
# Local Variables:
# mode: cmake
# cmake-tab-width: 4
# indent-tabs-mode: nil
# End:
......@@ -2,7 +2,7 @@ set (_SRCS
FFTBoxPoissonSolver.cpp
FFTPoissonSolver.cpp
P3MPoissonSolver.cpp
)
)
set (HDRS
FFTBoxPoissonSolver.h
......@@ -10,50 +10,58 @@ set (HDRS
IrregularDomain.h
P3MPoissonSolver.h
PoissonSolver.h
)
if ( ENABLE_SAAMG_SOLVER )
list(APPEND _SRCS
ArbitraryDomain.cpp
BoxCornerDomain.cpp
EllipticDomain.cpp
MGPoissonSolver.cpp
RectangularDomain.cpp
)
list(APPEND HDRS
ArbitraryDomain.h
BoxCornerDomain.h
EllipticDomain.h
MGPoissonSolver.h
RectangularDomain.h
)
endif ( ENABLE_SAAMG_SOLVER )
set(AMR_MG_DIR "")
if ( ENABLE_AMR )
list(APPEND _SRCS AMReXSolvers/MLPoissonSolver.cpp)
list(APPEND HDRS AmrPoissonSolver.h AMReXSolvers/MLPoissonSolver.h)
)
if (ENABLE_SAAMG_SOLVER)
list (APPEND _SRCS
ArbitraryDomain.cpp
BoxCornerDomain.cpp
EllipticDomain.cpp
MGPoissonSolver.cpp
RectangularDomain.cpp
)
list (APPEND HDRS
ArbitraryDomain.h
BoxCornerDomain.h
EllipticDomain.h
MGPoissonSolver.h
RectangularDomain.h
)
endif ()
set (AMR_MG_DIR "")
if (ENABLE_AMR)
list (APPEND _SRCS AMReXSolvers/MLPoissonSolver.cpp)
list (APPEND HDRS AmrPoissonSolver.h AMReXSolvers/MLPoissonSolver.h)
if ( AMREX_ENABLE_FBASELIB )
list(APPEND _SRCS BoxLibSolvers/FMGPoissonSolver.cpp)
list(APPEND AMR_HDRS BoxLibSolvers/FMGPoissonSolver.h)
endif ( AMREX_ENABLE_FBASELIB )
if (AMREX_ENABLE_FBASELIB)
list (APPEND _SRCS BoxLibSolvers/FMGPoissonSolver.cpp)
list (APPEND AMR_HDRS BoxLibSolvers/FMGPoissonSolver.h)
endif ()
if ( ENABLE_AMR_MG_SOLVER )
if (ENABLE_AMR_MG_SOLVER)
add_subdirectory (AMR_MG)
set(AMR_MG_DIR "${CMAKE_CURRENT_SOURCE_DIR}/AMR_MG")
endif ( ENABLE_AMR_MG_SOLVER )
set (AMR_MG_DIR "${CMAKE_CURRENT_SOURCE_DIR}/AMR_MG")
endif ()
endif ( ENABLE_AMR )
endif ()
include_directories (
${CMAKE_CURRENT_SOURCE_DIR}
${AMR_MG_DIR}
)
${CMAKE_CURRENT_SOURCE_DIR}
${AMR_MG_DIR}
)
add_opal_sources(${_SRCS})
add_opal_sources (${_SRCS})
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Solvers")
# vi: set et ts=4 sw=4 sts=4:
# Local Variables:
# mode: cmake
# cmake-tab-width: 4
# indent-tabs-mode: nil
# End:
set (_SRCS
)
)
include_directories (
${CMAKE_CURRENT_SOURCE_DIR}
)
${CMAKE_CURRENT_SOURCE_DIR}
)
add_opal_sources(${_SRCS})
add_opal_sources (${_SRCS})
set (HDRS
BorisPusher.h
......@@ -15,6 +15,14 @@ set (HDRS
RK4.hpp
Stepper.h
Steppers.h
)
)
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Steppers")
\ No newline at end of file
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Steppers")
# vi: set et ts=4 sw=4 sts=4:
# Local Variables:
# mode: cmake
# cmake-tab-width: 4
# indent-tabs-mode: nil
# End:
......@@ -59,12 +59,20 @@ if (ENABLE_AMR)
list(APPEND HDRS GridLBalWriter.h)
endif()
if(UNIX AND NOT APPLE)
if (UNIX AND NOT APPLE)
# for Linux, BSD, Solaris, Minix
list(APPEND _SRCS MemoryProfiler.cpp)
list(APPEND HDRS MemoryProfiler.h)
list (APPEND _SRCS MemoryProfiler.cpp)
list (APPEND HDRS MemoryProfiler.h)
endif()
add_opal_sources(${_SRCS})
add_opal_sources (${_SRCS})
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Structure")
\ No newline at end of file
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Structure")
# vi: set et ts=4 sw=4 sts=4:
# Local Variables:
# mode: cmake
# cmake-tab-width: 4
# indent-tabs-mode: nil
# End:
set (_SRCS
AttList.cpp
AttWriter.cpp
CorrectionBase.cpp
Eigen.cpp
Envelope.cpp
Insertion.cpp
List.cpp
MatrixCmd.cpp
Micado.cpp
Period.cpp
RangeSelector.cpp
Selector.cpp
Survey.cpp
TableTester.cpp
ThreadAll.cpp
ThreadBpm.cpp
Twiss.cpp
Twiss3.cpp
)
AttList.cpp
AttWriter.cpp
CorrectionBase.cpp
Eigen.cpp
Envelope.cpp
Insertion.cpp
List.cpp
MatrixCmd.cpp
Micado.cpp
Period.cpp
RangeSelector.cpp
Selector.cpp
Survey.cpp
TableTester.cpp
ThreadAll.cpp
ThreadBpm.cpp
Twiss.cpp
Twiss3.cpp
)
include_directories (
${CMAKE_CURRENT_SOURCE_DIR}
)
${CMAKE_CURRENT_SOURCE_DIR}
)
add_opal_sources(${_SRCS})
......@@ -45,6 +45,14 @@ set (HDRS
ThreadBpm.h
Twiss3.h
Twiss.h
)
)
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Tables")
\ No newline at end of file
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Tables")
# vi: set et ts=4 sw=4 sts=4:
# Local Variables:
# mode: cmake
# cmake-tab-width: 4
# indent-tabs-mode: nil
# End:
set (_SRCS
Track.cpp
TrackCmd.cpp
TrackEnd.cpp
TrackParser.cpp
TrackRun.cpp
TrackSave.cpp
TrackStart.cpp
)
Track.cpp
TrackCmd.cpp
TrackEnd.cpp
TrackParser.cpp
TrackRun.cpp
TrackSave.cpp
TrackStart.cpp
)
include_directories (
${CMAKE_CURRENT_SOURCE_DIR}
)
${CMAKE_CURRENT_SOURCE_DIR}
)
add_opal_sources(${_SRCS})
......@@ -22,6 +22,14 @@ set (HDRS
TrackRun.h
TrackSave.h
TrackStart.h
)
)
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Track")
\ No newline at end of file
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Track")
# vi: set et ts=4 sw=4 sts=4:
# Local Variables:
# mode: cmake
# cmake-tab-width: 4
# indent-tabs-mode: nil
# End:
set (_SRCS
OpalException.cpp
OpalFilter.cpp
RegularExpression.cpp
Round.cpp
Timer.cpp
TpsWerrf.cpp
Truncate.cpp
)
OpalException.cpp
OpalFilter.cpp
RegularExpression.cpp
Round.cpp
Timer.cpp
TpsWerrf.cpp
Truncate.cpp
)
include_directories (
${CMAKE_CURRENT_SOURCE_DIR}
)
${CMAKE_CURRENT_SOURCE_DIR}
)
add_opal_sources(${_SRCS})
......@@ -23,6 +23,14 @@ set (HDRS
Timer.h
TpsWerrf.h
Truncate.h
)
)
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/Utilities")
# vi: set et ts=4 sw=4 sts=4:
# Local Variables:
# mode: cmake
# cmake-tab-width: 4
# indent-tabs-mode: nil
# End:
set (_SRCS
BoolConstant.cpp
RealConstant.cpp
RealVariable.cpp
RealVector.cpp
StringConstant.cpp
)
BoolConstant.cpp
RealConstant.cpp
RealVariable.cpp
RealVector.cpp
StringConstant.cpp
)
include_directories (
${CMAKE_CURRENT_SOURCE_DIR}
)
${CMAKE_CURRENT_SOURCE_DIR}
)
add_opal_sources(${_SRCS})
......@@ -18,6 +18,14 @@ set (HDRS
RealVariable.h
RealVector.h
StringConstant.h
)
)
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/ValueDefinitions")
\ No newline at end of file
install (FILES ${HDRS} DESTINATION "${CMAKE_INSTALL_PREFIX}/include/ValueDefinitions")
# vi: set et ts=4 sw=4 sts=4:
# Local Variables:
# mode: cmake
# cmake-tab-width: 4
# indent-tabs-mode: nil
# End: