From 1d7df85a3587b52efa44489f92c0e963c057791a Mon Sep 17 00:00:00 2001 From: Pascal Engeler <engelerp@phys.ethz.ch> Date: Thu, 18 Jul 2024 22:25:17 +0200 Subject: [PATCH] Addition of more electrode configurations --- projects/braidingTightBinding/bin/Makefile | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/projects/braidingTightBinding/bin/Makefile b/projects/braidingTightBinding/bin/Makefile index 5390c7a..57ea4a3 100644 --- a/projects/braidingTightBinding/bin/Makefile +++ b/projects/braidingTightBinding/bin/Makefile @@ -2,7 +2,7 @@ INCLUDEDIR = /Users/pascal/rbcomb_simulation/projects/braidingTightBinding/inclu LIBDIR = /Users/pascal/rbcomb_simulation/projects/braidingTightBinding/lib HDF5DIR = /Users/pascal/rbcomb_simulation/projects/braidingTightBinding/lib/src -CXX = /usr/local/bin/g++-9 +CXX = /usr/local/bin/g++-10 CXXFLAGS = -std=c++2a -Wall -Wpedantic -I$(INCLUDEDIR) -I$(LIBDIR) -I${HDF5DIR} -O5 -mtune=native -march=native -framework Accelerate -lblas run: all @@ -11,10 +11,22 @@ run: all ./main_braiding_zerostate ../results/data/zerostate/ python3 plot_zerostate.py -all: main_braiding_zerostate +run_nocoupling: main_nocoupling + mkdir -p ../results/data/nocoupling/ + mkdir -p ../results/plots/nocoupling/ + ./main_nocoupling ../results/data/nocoupling/ + python3 plot.py ../results/data/nocoupling/ ../results/plots/nocoupling/ "No Coupling" 0 10 -main_braiding_zerostate: main_braiding_zerostate.cpp ${LIBDIR}/diagonalizer.hpp ${LIBDIR}/drum.hpp ${INCLUDEDIR}/grabber.hpp ${LIBDIR}/rk4_buffer.hpp ${LIBDIR}/rk4_stepper.hpp ${LIBDIR}/system.hpp ${LIBDIR}/system_parameters.hpp ${LIBDIR}/vec2.hpp ${INCLUDEDIR}/coupler_braid.hpp ${INCLUDEDIR}/driver_braid.hpp ${INCLUDEDIR}/drum_parameters_braid.hpp ${INCLUDEDIR}/drum_variables_braid.hpp ${INCLUDEDIR}/force_braid.hpp ${INCLUDEDIR}/matrix_element_calculator_braid.hpp ${INCLUDEDIR}/rbcomb_generator_braid.hpp ${INCLUDEDIR}/vortex.hpp +all: main_braiding_zerostate main_nocoupling + +main_braiding_zerostate: main_braiding_zerostate.cpp ${LIBDIR}/diagonalizer.hpp ${LIBDIR}/drum.hpp ${INCLUDEDIR}/grabber.hpp ${LIBDIR}/rk4_buffer.hpp ${LIBDIR}/rk4_stepper.hpp ${LIBDIR}/system.hpp ${LIBDIR}/system_parameters.hpp ${LIBDIR}/vec2.hpp ${INCLUDEDIR}/coupler_braid.hpp ${INCLUDEDIR}/coupler_const.hpp ${INCLUDEDIR}/driver_braid.hpp ${INCLUDEDIR}/drum_parameters_braid.hpp ${INCLUDEDIR}/drum_variables_braid.hpp ${INCLUDEDIR}/force_braid.hpp ${INCLUDEDIR}/matrix_element_calculator_braid.hpp ${INCLUDEDIR}/rbcomb_generator_braid.hpp ${INCLUDEDIR}/vortex.hpp + $(CXX) $< $(CXXFLAGS) -o $@ + +main_nocoupling: main_nocoupling.cpp ${LIBDIR}/diagonalizer.hpp ${LIBDIR}/drum.hpp ${INCLUDEDIR}/grabber.hpp ${LIBDIR}/rk4_buffer.hpp ${LIBDIR}/rk4_stepper.hpp ${LIBDIR}/system.hpp ${LIBDIR}/system_parameters.hpp ${LIBDIR}/vec2.hpp ${INCLUDEDIR}/coupler_const.hpp ${INCLUDEDIR}/driver_braid.hpp ${INCLUDEDIR}/drum_parameters_braid.hpp ${INCLUDEDIR}/drum_variables_braid.hpp ${INCLUDEDIR}/force_braid.hpp ${INCLUDEDIR}/matrix_element_calculator_braid.hpp ${INCLUDEDIR}/rbcomb_generator_braid.hpp $(CXX) $< $(CXXFLAGS) -o $@ +plot: + python3 plot_zerostate.py + clean: rm -rf main_braiding_zerostate ../results/data/* ../results/plots/* -- GitLab