Commit Graph

49 Commits

Author SHA1 Message Date
e0792d3a62 apply code changes suggested by clang-tidy 2022-12-11 18:44:50 -05:00
4aaf003fb1 fix minor issues reported by coverity scan, re-apply clang-format 2022-12-08 23:59:42 -05:00
92d8994189 add initializer for podptr 2022-12-05 18:03:43 -05:00
20f568e1ae avoid division by zero 2022-12-05 18:03:39 -05:00
f33d7b8fc1 avoid string copy 2022-12-05 18:03:28 -05:00
ecf5b5a848 use call-by-reference to pass datastruct to functions 2022-12-05 17:30:13 -05:00
7c0c2234b3 Remove unused functions 2022-12-03 09:01:42 -05:00
fa160a21c2 Move precision and basename options from param input file to data input file 2022-12-02 17:41:34 -05:00
96c022d2d5 fix white spaces 2022-12-02 10:34:02 -05:00
e4791356c7 Add regularization parameter to make the fitting more robust. 2022-12-02 10:29:46 -05:00
8224e05515 simplify by making precision directly an integer 2022-12-01 23:19:38 -05:00
ef7b18cd34 remove dead code 2022-12-01 23:19:00 -05:00
7063574d61 whitespace 2022-12-01 23:03:30 -05:00
e79ae87957 Stabilize the linear solve and update Ta examples 2022-12-01 22:38:09 -05:00
3c9a6c4265 Fix white space 2022-12-01 14:42:24 -05:00
2738f18889 Add optional precision to round the coefficients to ensure consistency across platforms 2022-12-01 13:53:42 -05:00
196f16325c Update fitpod 2022-12-01 09:27:16 -05:00
db8b4af924 Merge branch 'pod' of https://github.com/cesmix-mit/lammps into pod 2022-12-01 09:18:18 -05:00
929f23095c Update fitpod to let proc 0 handle the linear system and broadcast the solution to other processors 2022-12-01 09:17:41 -05:00
3792140734 prettify and simplify output table formatting using fmt::format() 2022-12-01 06:38:20 -05:00
1b40ff2a81 simplify 2022-12-01 06:38:20 -05:00
a346d7c6ca truncate coefficient output to 8 digits precision that are reproducible 2022-12-01 01:12:26 -05:00
05669fd7ed whitespace 2022-12-01 00:32:13 -05:00
fd13fe1e9a Add basename feature to output files and removed existing files 2022-11-30 22:34:42 -05:00
362739a337 Move examples to lammps/examples/PACKAGES/pod and rename source files 2022-11-29 20:06:04 -05:00
5de185e89b Allow name tag for output files 2022-11-29 14:43:55 -05:00
0f216b5830 whitespace 2022-11-28 11:41:37 -05:00
ebdce82009 Merge branch 'pod' into pod-updates 2022-11-28 11:40:40 -05:00
3b56d5e9b1 Update for documentation, change percentage to fraction, and fix some printing issues in fitpod_command 2022-11-28 11:03:18 -05:00
3de72cee14 Merge branch 'pod' into pod-updates 2022-11-28 01:17:07 -05:00
ccffe80b8d update MPI functionality for fitpod command 2022-11-28 01:09:36 -05:00
cdc0157dcf improve output formatting 2022-11-27 19:42:54 -05:00
c8894e4d48 Change CPOD to MLPOD 2022-11-27 10:50:53 -05:00
e5ac673e2b avoid implicit string copy 2022-11-22 18:31:13 -05:00
14f47a27ca avoid variable length arrays 2022-11-22 18:30:47 -05:00
b572b40ef1 follow include style more closely 2022-11-22 18:12:54 -05:00
3b07e64da5 whitespace 2022-11-22 18:11:17 -05:00
741620148d use fmt library features for aligned output 2022-11-22 18:10:06 -05:00
b7c4d5737b avoid variable length array 2022-11-22 18:09:41 -05:00
a1b40a8c08 remove dead code 2022-11-22 18:09:19 -05:00
de8f0c9ae9 use platform::walltime() 2022-11-22 17:20:35 -05:00
8559857540 Fix double deallocation in fitpod 2022-11-20 16:03:04 -07:00
98d2dc3d01 removed some redundant code 2022-11-20 15:00:21 -05:00
8247d127b8 removed some headers 2022-11-20 14:39:05 -05:00
8114bfbd3d Replace unnecessary memory functions with lammps memory class 2022-11-20 11:29:57 -07:00
5424344dc6 Forward declare podptr in fitpod header 2022-11-20 09:56:37 -07:00
143147e7b9 Use lammps memory allocation everywhere 2022-11-20 09:41:36 -07:00
d8b8a8bad1 Delete podcommon.h 2022-11-20 11:36:00 -05:00
50d3f88705 Update fitpod command 2022-11-19 22:05:54 -05:00