Changeset 3618 for palm/trunk/UTIL/inifor/tests
- Timestamp:
- Dec 10, 2018 1:25:22 PM (6 years ago)
- Location:
- palm/trunk/UTIL/inifor/tests
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/UTIL/inifor/tests/Makefile
r2718 r3618 25 25 # ----------------- 26 26 # $Id$ 27 # Prefixed INIFOR modules with inifor_ 28 # 29 # 30 # 2718 2018-01-02 08:49:38Z maronga 27 31 # Initial revision 28 32 # … … 43 47 TESTS = $(patsubst %.f90,%,$(wildcard test-*.f90)) 44 48 45 MODULES = util.mod $(SRC_PATH)/ defs.mod $(SRC_PATH)/control.mod $(SRC_PATH)/util.mod $(SRC_PATH)/types.mod $(SRC_PATH)/transform.mod $(SRC_PATH)/io.mod $(SRC_PATH)/grid.mod49 MODULES = util.mod $(SRC_PATH)/inifor_defs.mod $(SRC_PATH)/inifor_control.mod $(SRC_PATH)/inifor_util.mod $(SRC_PATH)/inifor_types.mod $(SRC_PATH)/inifor_transform.mod $(SRC_PATH)/inifor_io.mod $(SRC_PATH)/inifor_grid.mod 46 50 SOURCES = $(MODULES:%.mod=%.f90) 47 51 OBJECTS = $(SOURCES:%.f90=%.o) -
palm/trunk/UTIL/inifor/tests/Makefile.gnu
r2718 r3618 25 25 # ----------------- 26 26 # $Id$ 27 # Prefixed INIFOR modules with inifor_ 28 # 29 # 30 # 2718 2018-01-02 08:49:38Z maronga 27 31 # Initial revision 28 32 # … … 44 48 TESTS = $(patsubst %.f90,%,$(wildcard test-*.f90)) 45 49 46 MODULES = util.mod $(SRC_PATH)/ defs.mod $(SRC_PATH)/control.mod $(SRC_PATH)/util.mod $(SRC_PATH)/types.mod $(SRC_PATH)/transform.mod $(SRC_PATH)/io.mod $(SRC_PATH)/grid.mod50 MODULES = util.mod $(SRC_PATH)/inifor_defs.mod $(SRC_PATH)/inifor_control.mod $(SRC_PATH)/inifor_util.mod $(SRC_PATH)/inifor_types.mod $(SRC_PATH)/inifor_transform.mod $(SRC_PATH)/inifor_io.mod $(SRC_PATH)/inifor_grid.mod 47 51 SOURCES = $(MODULES:%.mod=%.f90) 48 52 OBJECTS = $(SOURCES:%.f90=%.o) -
palm/trunk/UTIL/inifor/tests/Makefile.ifort
r2718 r3618 25 25 # ----------------- 26 26 # $Id$ 27 # Prefixed INIFOR modules with inifor_ 28 # 29 # 30 # 2718 2018-01-02 08:49:38Z maronga 27 31 # Initial revision 28 32 # … … 44 48 TESTS = $(patsubst %.f90,%,$(wildcard test-*.f90)) 45 49 46 MODULES = util.mod $(SRC_PATH)/ defs.mod $(SRC_PATH)/control.mod $(SRC_PATH)/util.mod $(SRC_PATH)/types.mod $(SRC_PATH)/transform.mod $(SRC_PATH)/io.mod $(SRC_PATH)/grid.mod50 MODULES = util.mod $(SRC_PATH)/inifor_defs.mod $(SRC_PATH)/inifor_control.mod $(SRC_PATH)/inifor_util.mod $(SRC_PATH)/inifor_types.mod $(SRC_PATH)/inifor_transform.mod $(SRC_PATH)/inifor_io.mod $(SRC_PATH)/inifor_grid.mod 47 51 SOURCES = $(MODULES:%.mod=%.f90) 48 52 OBJECTS = $(SOURCES:%.f90=%.o) -
palm/trunk/UTIL/inifor/tests/test-boundaries.f90
r3183 r3618 26 26 ! ----------------- 27 27 ! $Id$ 28 ! Prefixed all INIFOR modules with inifor_ 29 ! 30 ! 31 ! 3183 2018-07-27 14:25:55Z suehring 28 32 ! Updated test for new PALM grid strechting 29 33 ! … … 45 49 PROGRAM test_boundaries 46 50 47 USE grid, ONLY : init_grid_definition 48 USE types, ONLY : grid_definition 51 USE inifor_grid, & 52 ONLY : init_grid_definition 53 USE inifor_types, & 54 ONLY : grid_definition 49 55 USE test_utils 50 56 -
palm/trunk/UTIL/inifor/tests/test-centre-velocities.f90
r2718 r3618 26 26 ! ----------------- 27 27 ! $Id$ 28 ! Prefixed all INIFOR modules with inifor_ 29 ! 30 ! 31 ! 2718 2018-01-02 08:49:38Z maronga 28 32 ! Initial revision 29 33 ! … … 40 44 PROGRAM test_centre_velocities 41 45 46 USE inifor_transform, & 47 ONLY : centre_velocities 42 48 USE test_utils 43 USE transform, &44 ONLY : centre_velocities45 49 46 50 IMPLICIT NONE -
palm/trunk/UTIL/inifor/tests/test-grid.f90
r3183 r3618 26 26 ! ----------------- 27 27 ! $Id$ 28 ! Prefixed all INIFOR modules with inifor_ 29 ! 30 ! 31 ! 3183 2018-07-27 14:25:55Z suehring 28 32 ! Updated test for new PALM grid strechting 29 33 ! … … 45 49 PROGRAM test_grid 46 50 47 USE grid, ONLY : grid_definition, init_grid_definition, dx, dy, dz 51 USE inifor_grid, & 52 ONLY : grid_definition, init_grid_definition, dx, dy, dz 48 53 USE test_utils 49 54 -
palm/trunk/UTIL/inifor/tests/test-input-files.f90
r3183 r3618 26 26 ! ----------------- 27 27 ! $Id$ 28 ! Prefixed all INIFOR modules with inifor_ 29 ! 30 ! 31 ! 3183 2018-07-27 14:25:55Z suehring 28 32 ! New test for negative start_hour and greater-than-one step_hour 29 33 ! … … 45 49 PROGRAM test_input_files 46 50 47 USE defs,&51 USE inifor_defs, & 48 52 ONLY : PATH 49 USE grid, &53 USE inifor_grid, & 50 54 ONLY : get_input_file_list 51 55 USE test_utils -
palm/trunk/UTIL/inifor/tests/test-interpolation.f90
r3183 r3618 26 26 ! ----------------- 27 27 ! $Id$ 28 ! Prefixed all INIFOR modules with inifor_ 29 ! 30 ! 31 ! 3183 2018-07-27 14:25:55Z suehring 28 32 ! Updated test for new grid_definition 29 33 ! … … 44 48 PROGRAM test_interpolation 45 49 46 USE grid,&47 ONLY: grid_definition, init_grid_definition, TO_RADIANS, TO_DEGREES, &50 USE inifor_grid, & 51 ONLY: grid_definition, init_grid_definition, TO_RADIANS, TO_DEGREES, & 48 52 linspace, hhl 49 USE transform,&53 USE inifor_transform, & 50 54 ONLY: find_horizontal_neighbours, compute_horizontal_interp_weights 51 55 USE test_utils -
palm/trunk/UTIL/inifor/tests/test-stretching.f90
r3396 r3618 26 26 ! ----------------- 27 27 ! $Id$ 28 ! Prefixed all INIFOR modules with inifor_ 29 ! 30 ! 31 ! 28 32 ! Initial revision 29 33 ! … … 43 47 PROGRAM test_stretching 44 48 45 USE defs,&49 USE inifor_defs, & 46 50 ONLY : dp 47 51 48 USE grid,&52 USE inifor_grid, & 49 53 ONLY : stretched_z 50 54 -
palm/trunk/UTIL/inifor/tests/test-transform.f90
r2718 r3618 26 26 ! ----------------- 27 27 ! $Id$ 28 ! Prefixed all modules with inifor_ 29 ! 30 ! 31 ! 2718 2018-01-02 08:49:38Z maronga 28 32 ! Initial revision 29 33 ! … … 40 44 PROGRAM test_transform 41 45 42 USE defs, ONLY : TO_RADIANS, TO_DEGREES 43 USE grid, ONLY : grid_definition, init_grid_definition 44 USE transform, ONLY : phi2phirot, rla2rlarot, phirot2phi, rlarot2rla 46 USE inifor_defs, & 47 ONLY : TO_RADIANS, TO_DEGREES 48 USE inifor_grid, & 49 ONLY : grid_definition, init_grid_definition 50 USE inifor_transform, & 51 ONLY : phi2phirot, rla2rlarot, phirot2phi, rlarot2rla 45 52 USE test_utils 46 53 … … 68 75 lambda_c = rla2rlarot(phi, lambda, phi_n, lambda_n, 0.) 69 76 70 phi2 = phirot2phi(phi_c, lambda_c, phi_n, lambda_n,0.)77 phi2 = phirot2phi(phi_c, lambda_c, phi_n, 0.) 71 78 lambda2 = rlarot2rla(phi_c, lambda_c, phi_n, lambda_n, 0.) 72 79 … … 91 98 lambda_c = rla2rlarot(phi, lambda, phi_n, lambda_n, 0.) 92 99 93 phi2 = phirot2phi(phi_c, lambda_c, phi_n, lambda_n,0.)100 phi2 = phirot2phi(phi_c, lambda_c, phi_n, 0.) 94 101 lambda2 = rlarot2rla(phi_c, lambda_c, phi_n, lambda_n, 0.) 95 102
Note: See TracChangeset
for help on using the changeset viewer.