# -*- mode: makefile -*- # # Makefile include/helper that defines targets to compare two datafiles ($(A) and $(B)) for MIX, LFM-MHD and LFM-ION # # This Makefile assumes that you've already built the "RMSerror" binary in common/src/RMSerror # # Example usage is in runs/LFM-MIX/utio-short/Makefile # # FIXME: Standardize the acceptable RMS error for these variables. # verify-MIX: @ echo "------------------------------------------- MIX --------------------------------------------" - ../../../common/bin/RMSerror 1 $(A) $(B) "Grid X" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "Grid Y" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "Potential North [V]" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "Potential South [V]" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "FAC North [A/m^2]" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "FAC South [A/m^2]" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "Pedersen conductance North [S]" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "Pedersen conductance South [S]" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "Hall conductance North [S]" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "Hall conductance South [S]" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "Average energy North [keV]" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "Average energy South [keV]" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "Number flux North [1/cm^2 s]" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "Number flux South [1/cm^2 s]" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "Neutral wind speed South [m/s]" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "Neutral wind speed North [m/s]" 1 verify-MHD: @ echo "----------------------------------------- LFM-MHD ------------------------------------------" - ../../../common/bin/RMSerror 1 $(A) $(B) "X_grid" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "Y_grid" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "Z_grid" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "rho_" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "vx_" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "vy_" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "vz_" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "c_" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "bx_" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "by_" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "bz_" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "bi_" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "bj_" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "bk_" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "ei_" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "ej_" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "ek_" 1 verify-ION: @ echo "----------------------------------------- LFM-ION ------------------------------------------" - ../../../common/bin/RMSerror 1 $(A) $(B) "x2ion" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "y2ion" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "x_interp" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "y_interp" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "rho0" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "c0" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "curnorth" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "potnorth" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "SigmaH_north" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "SigmaP_north" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "fluxnorth" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "avE_north" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "cursouth" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "potsouth" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "SigmaH_south" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "SigmaP_south" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "fluxsouth" 1 - ../../../common/bin/RMSerror 1 $(A) $(B) "avE_south" 1