Commit Graph

135 Commits

Author SHA1 Message Date
064e1abd5b Small tweaks to make Lepton test compile/link with MSVC 2022-12-29 22:22:45 -05:00
6c318b5e8e fix typo 2022-12-29 21:17:36 -05:00
ec244dbad3 get lepton compiler flags without having to link its library twice 2022-12-29 20:09:42 -05:00
cae18d01a3 add unit tests for Lepton lib and LeptonUtils functions 2022-12-29 19:10:46 -05:00
3e9bb99daa Merge branch 'develop' into collected-small-changes to resolve merge conflicts 2022-12-19 12:42:09 -05:00
9137edae10 fix incorrect detection of leading '-' on floating point numbers 2022-12-17 22:31:02 -05:00
5a18cea6c9 tighter checking of what is a valid integer/floating point number
also use the check consistently when converting numbers
2022-12-17 22:06:50 -05:00
6d4cb38d1f parse_gridid was renamed to parse_grid_id 2022-12-01 10:12:39 -05:00
b4118c51cc merged in current master 2022-11-04 08:22:18 -06:00
27a93f12d5 simplify and make test more specific 2022-10-31 15:00:37 -04:00
248b7383c7 Merge remote-tracking branch 'github/develop' into collected-small-changes
# Conflicts:
#	src/DIPOLE/pair_lj_cut_dipole_long.h
#	src/OPENMP/fix_nvt_sllod_omp.h
#	src/PHONON/fix_phonon.h
#	src/SPIN/pair_spin_dipole_cut.h
#	src/SPIN/pair_spin_dipole_long.h
#	src/STUBS/mpi.h
#	src/UEF/fix_nh_uef.h
#	src/fix_nvt_sllod.h
#	tools/coding_standard/homepage.py
2022-10-24 15:50:50 -04:00
3c4b0a0c04 expand homepage checker tool to check a few more folders and apply updates 2022-10-24 10:58:39 -04:00
fbc0e02cb2 cosmetic 2022-10-14 04:48:54 -04:00
a0d859933c Update from master 2022-10-12 09:49:55 -06:00
bc6e42a610 add more extensive whitespace checking for fortran and unittests 2022-10-04 04:11:39 -04:00
e2df4ed2a7 Merge branch 'develop' into distributed-grids
# Conflicts:
#	doc/src/Developer_utils.rst
#	doc/src/dump.rst
#	doc/src/fix_ave_chunk.rst
#	src/utils.h
2022-09-12 18:31:29 -04:00
ab899861d5 apply clang-format 2022-09-10 03:21:28 -04:00
26e1b7c44d add UTF-8 substitution and detection 2022-09-04 06:45:11 -04:00
ca6222c12b implement utils::is_type() convenience function 2022-09-03 23:18:44 -04:00
7639d57657 update unit test for utils::parse_gridid() 2022-08-18 17:48:59 -04:00
c1b664b4be improve error message and update unit tests accordingly 2022-08-17 13:25:47 -04:00
22a9bfebe5 reimplement utils::gridid_parse() function and update related code 2022-08-17 13:18:12 -04:00
574818c3e9 add unit test for utils::join_words() 2022-07-05 00:27:28 -04:00
d4ea5ca49e more clang-tidy fixes after re-running it with added settings 2022-05-14 07:18:05 -04:00
fef6c37ea7 Merge pull request #3240 from akohlmey/ave-yaml-file-colname
Add support for custom column names and YAML format output to fix ave/time
2022-05-02 11:45:50 -04:00
ba02d90bf1 add test for new errorurl() utility function 2022-04-26 09:29:57 -04:00
a649fa3a79 detect yaml file output by file name 2022-04-26 06:20:00 -04:00
3ba7b8c24c add star_subst() utility function that replaces a '*' in a string with a number 2022-03-28 22:47:20 -04:00
9dfb099197 change platform::mkdir() to create entire path like "mkdir -p"
update the documentation of the shell command to current state
and specifically explain the difference between built-in and
external commands and correct where built in commands were described
as calling external commands.
2022-03-17 11:34:50 -04:00
374917fb6f tweak platform tests for CPU time to avoid bogus failures on windows 2022-03-07 21:42:02 -05:00
7ee7d0c570 apply clang-format 2022-01-30 17:18:40 -05:00
d62e25decc don't specify default working directory for tests explicitly 2022-01-29 11:10:23 -05:00
7978bf671d use canonical syntax for adding tests 2022-01-28 21:12:13 -05:00
cd8b674f4b expand path to include LAMMPS shared lib 2022-01-27 17:46:18 -05:00
5c9a4f4be0 implement platform abstraction of unsetenv() 2021-10-22 11:05:32 -04:00
ad81dd3960 recover original new style library target names through ALIAS library definitions 2021-10-22 08:23:49 -04:00
7cc5092547 make portable to MSVC++ 2021-10-21 21:01:59 -04:00
93d6e6dec9 update for new way of using googletest 2021-10-12 11:46:37 -04:00
510987dc80 Merge branch 'master' into multi-config-support
# Conflicts:
#	cmake/Modules/Packages/MSCG.cmake
#	examples/plugins/CMakeLists.txt
2021-10-11 17:03:41 -04:00
2c7b67203a recover unit test compile 2021-10-07 13:44:18 -04:00
c8ff66e07f correct file extension for Zstd compressed files 2021-10-07 06:49:49 -04:00
059f450f1b add uppercase string utility function (for symmetry) 2021-10-07 00:00:33 -04:00
a9bccee7b2 add utility to convert a string to lowercase 2021-10-06 17:43:41 -04:00
af070aa351 add support for seeking to the end of a file 2021-10-05 15:44:58 -04:00
37bfe3d0ce integrate platform sub-namespace into source code and documentation
this updates function calls to functions that have been moved from
the utils namepsace or the Info class to platform::
2021-10-02 16:55:11 -04:00
195fe81c60 correct test for loading shared objects and libraries 2021-10-01 23:52:02 -04:00
15b3e875d5 import files for platform namespace from standalone project w/o updating LAMMPS 2021-09-29 16:29:25 -04:00
fe64649e49 Merge branch 'master' into multi-config-support 2021-09-20 20:42:03 -04:00
db76edbade implement utils::current_date() convenience function to reduce replicated code 2021-09-18 09:05:35 -04:00
84c945f7fb Use multi-config compatible way to integrate googletest for unit testing 2021-09-11 04:50:04 -04:00