Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/updated json #97

Open
wants to merge 406 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
406 commits
Select commit Hold shift + click to select a range
ae062f5
Getting closer to a C-interface generator.
staleyLANL Aug 15, 2022
e0d97ad
C interface generator now producing what I'd handwritten.
staleyLANL Aug 16, 2022
e7577ca
Completing some details.
staleyLANL Aug 16, 2022
ab46a7c
Some simplifications and shortening.
staleyLANL Aug 16, 2022
219683b
Small fixes.
staleyLANL Aug 16, 2022
d6b6917
More small fixes.
staleyLANL Aug 16, 2022
84c78bf
Script improvement.
staleyLANL Aug 16, 2022
5c34c5c
Maybe nlohmann/json origin/release/3.10.5 disappeared??
staleyLANL Aug 16, 2022
90edf67
Fixed a looping mistake and some other small glitches.
staleyLANL Aug 17, 2022
63cccad
Account for a goofy C (not C++) constness wrinkle.
staleyLANL Aug 18, 2022
d90cdb7
C interface: made Has() work for all fields, optional or not.
staleyLANL Aug 19, 2022
21d0151
Updating generated codes.
staleyLANL Aug 22, 2022
0bea9e3
Small but important change in the code generator.
staleyLANL Aug 22, 2022
a2047bc
Reorganized files that relate to our "prototype" GNDS 1.9.
staleyLANL Aug 22, 2022
da9ad92
Updated summary_abstract with a couple of changes, per today's summar…
staleyLANL Aug 22, 2022
d4d60c3
Tiny json2class.cpp formatting change.
staleyLANL Aug 22, 2022
2419dd5
Changes in preparation to merge into latest branch, then work through…
staleyLANL Aug 22, 2022
433eeb8
Merge remote-tracking branch 'origin/dev/gnds-2.0' into feature/proto…
staleyLANL Aug 22, 2022
af2dbcd
Running emacs indent-region on some files. For consistent indentation.
staleyLANL Aug 22, 2022
51f38d2
Gradually working through the .json spec files.
staleyLANL Aug 23, 2022
b87942a
Update summary_tsl.json to reflect current oecd-nea master
staleyLANL Aug 24, 2022
25cb828
A couple of json2class asserts replaces with informative diagnostics.
staleyLANL Aug 24, 2022
44794d3
Typo fix in old "v1.9" file.
staleyLANL Aug 24, 2022
67a84c6
Changed four instances of "required" from true to false.
staleyLANL Aug 24, 2022
e49dc9e
Changed a comment.
staleyLANL Aug 24, 2022
3b31f99
Changed two instances of "required" from true to false.
staleyLANL Aug 24, 2022
f635f38
OCD'd changes.json, for readability.
staleyLANL Aug 24, 2022
55616f9
Fixed copy/paste error in changes.json. (grid style ==> boundary cond…
staleyLANL Aug 24, 2022
23cfef5
Fixed typo (complies ==> compiles) in various places.
staleyLANL Aug 24, 2022
254b3b2
Added a whole bunch of "trying it out" GNDS 2.0 files.
staleyLANL Aug 29, 2022
b52cda0
Updating some autogenerated files.
staleyLANL Aug 30, 2022
b580a9e
Reordering.
staleyLANL Aug 30, 2022
f2447ed
Generated code update, after re-adding nodes in summary_gpdc.json.
staleyLANL Aug 30, 2022
0f91b56
Put some nodes back in. Updated generated code.
staleyLANL Aug 30, 2022
72c8646
Changes to handle certain spec "default" values properly.
staleyLANL Aug 30, 2022
38a1d26
Typo fix + code generation: covarianc ==> covariance
staleyLANL Aug 31, 2022
781b492
Update summary_common.json, per oecd-nea master.
staleyLANL Aug 31, 2022
06b752b
Update summary_transport.json, per oecd-nea master.
staleyLANL Aug 31, 2022
4ddd08d
Update summary_styles.json, per oecd-nea master.
staleyLANL Aug 31, 2022
997845b
Updating a couple more JSON files, per the latest on oecd-nea.
staleyLANL Aug 31, 2022
b5ecb0a
Updated summary_pops.json based on the latest main branch on oecd-nea.
staleyLANL Aug 31, 2022
f032706
Added a minimal "mass" node to summary_tsl.json.
staleyLANL Sep 3, 2022
cde5f1c
Got transport::NBodyPhaseSpace working by stipulating namespace "tsl"…
staleyLANL Sep 3, 2022
767f64c
Added "namespace" key/value pair, to clarify some child nodes.
staleyLANL Sep 6, 2022
d5d42a9
Disambiguated "uncertainty" in transport and fpy.
staleyLANL Sep 6, 2022
a2df1ce
Updated generated code.
staleyLANL Sep 6, 2022
c540f24
Disambiguated temperature's uncertainty in styles.
staleyLANL Sep 6, 2022
7271396
Disambiguated delayedNeutron's "product" child.
staleyLANL Sep 6, 2022
08147a1
Inferred three cases of "namespace" in summary_transport.json.
staleyLANL Sep 6, 2022
efe80e2
Best guess at correct namespace.
staleyLANL Sep 7, 2022
881bd6e
Added "namespace".
staleyLANL Sep 7, 2022
266fef0
Disambiguated an "energy" child node in summary_processed.json.
staleyLANL Sep 7, 2022
6958b41
Pointed to proper child nodes.
staleyLANL Sep 7, 2022
3b1391a
Directory name change.
staleyLANL Sep 8, 2022
75591dd
Added the summary_extra.json file.
staleyLANL Sep 12, 2022
8abc8a4
Namespaces, for disambiguation.
staleyLANL Sep 12, 2022
05570af
Fixed "type" attribute name: "type", not "label".
staleyLANL Sep 12, 2022
b5e2f58
Debug printing in json2class, to help analyze GNDS 2.0 specs.
staleyLANL Sep 12, 2022
c62d3a7
Fixed a JSON-related glitch, for a user.
staleyLANL Sep 15, 2022
5ecb938
Have the code generator ignore child nodes beginning with "//".
staleyLANL Sep 19, 2022
1e6e297
Maps: checksum to std::string, algorithm to HashAlgorithm.
staleyLANL Sep 19, 2022
4090370
Temporary fix to some circular definitions, using "// ...".
staleyLANL Sep 19, 2022
e3cefdb
Regenerated GNDS 2.0 code.
staleyLANL Sep 19, 2022
38081e4
Well, it *compiles*, for what that's worth.
staleyLANL Sep 19, 2022
86655eb
Some work that might improve performance with GNDS 2.0, or any autoge…
staleyLANL Sep 22, 2022
670e545
Began an "incremental" GNDS 2.0 spec build, in standards/incremental.
staleyLANL Oct 24, 2022
caf0ccc
Updating generated code for "incremental GNDS 2.0".
staleyLANL Oct 24, 2022
37b1244
Work-in-progress on making certain aspects of generated classes more …
staleyLANL Oct 28, 2022
856aac0
Code generator updates, and updating some generated example code.
staleyLANL Oct 29, 2022
7448d6d
Work in progress, towards making generated classes more efficient.
staleyLANL Nov 14, 2022
430ebfe
Modified the code generator so that generated constructors are more e…
staleyLANL Nov 14, 2022
d4add7f
Update example code.
staleyLANL Nov 14, 2022
6d28f68
Meta<T> and Child<T> no longer need a T in them.
staleyLANL Nov 14, 2022
4ce186b
Child<T> and Meta<T> class operator updates, because they no longer h…
staleyLANL Nov 14, 2022
821ead0
Alternative formulations of Meta<T> and Child<T> related query functi…
staleyLANL Nov 14, 2022
39b03fb
Minor updates to some test codes.
staleyLANL Nov 14, 2022
5d07dbc
Finishing off code related to improving generated-class performance.
staleyLANL Nov 14, 2022
8187e03
Regenerated some code.
staleyLANL Nov 14, 2022
3ab6cc7
Some optimizations, relevant to generated classes that have large dat…
staleyLANL Nov 16, 2022
babad79
Substantial optimization.
staleyLANL Nov 21, 2022
ea2a04c
Fast, completely optional parallel string-of-doubles-to-doubles conve…
staleyLANL Dec 7, 2022
934673a
Small improvements to the optional parallel string-to-doubles converter.
staleyLANL Dec 9, 2022
2750aba
Make some terminology less XML-centric.
staleyLANL Dec 9, 2022
6cf3460
Continue terminology improvement.
staleyLANL Dec 9, 2022
ba52ae8
As with last commit.
staleyLANL Dec 9, 2022
f4821b8
Yet more name cleanup.
staleyLANL Dec 9, 2022
1dfef26
Updated some autogenerated code.
staleyLANL Dec 9, 2022
b46a29e
Changed some terminology, updating test material appropriately.
staleyLANL Dec 9, 2022
53b7a5f
Some more small changes to improve the "special node" system.
staleyLANL Dec 9, 2022
29e88af
In .json specs, use "vector":"type" in place of "data":"type".
staleyLANL Dec 9, 2022
808b844
Autogenerate customization files for the C interface.
staleyLANL Dec 13, 2022
5ee6831
Improved the exposition of some XML-, JSON-, and HDF5-related files.
staleyLANL Dec 14, 2022
7a9107d
Updating autogenerated files.
staleyLANL Dec 15, 2022
c4c0fef
Autogenerated classes all support comments. Will help w/GNDS 2.0.
staleyLANL Dec 20, 2022
9b75f75
Finished a "comment" capability in all autogenerated classes.
staleyLANL Dec 21, 2022
33ad7af
Simplified some code related to constructors in Component-derived cla…
staleyLANL Dec 23, 2022
24ae1aa
Uploading miscellaneous un-uploaded work.
staleyLANL Dec 23, 2022
292cd64
Lots of recent work. Best to just look at the files.
staleyLANL Jan 5, 2023
5cce6f4
Uploading tons of recent work.
staleyLANL Jan 10, 2023
f9d5bcf
Lots of new work on the incident neutron file spec.
staleyLANL Jan 10, 2023
b6b7d66
Spec for incident neutron -covar files.
staleyLANL Jan 11, 2023
4fd0816
Minor updates to the spec files.
staleyLANL Jan 11, 2023
d526dbc
All d-*.xml and atom-*.xml files.
staleyLANL Jan 13, 2023
40b8111
Support for GNDS 2.0 sfy-*.xml files.
staleyLANL Jan 17, 2023
391352b
Work on an optional optional. Might or might not keep.
staleyLANL Jan 17, 2023
a1815f1
Merge branch 'feature/incident-neutron' of github.com:njoy/GNDStk int…
staleyLANL Jan 17, 2023
f2e62c9
Handling nfy- files.
staleyLANL Jan 18, 2023
1e96d01
Additional work on specs for various types of GNDS 2.0 files.
staleyLANL Jan 18, 2023
8fbabea
Handling all the dec-*.xml files now.
staleyLANL Jan 20, 2023
6ac8dce
Support for tsl-*.xml GNDS 2.0 files. Not quite complete.
staleyLANL Jan 20, 2023
bca7017
Merge branch 'feature/incident-neutron' of https://github.com/njoy/GN…
staleyLANL Jan 20, 2023
de49aa6
Work on the code generator, to address some technical issues.
staleyLANL Jan 21, 2023
ee05075
Additional changes to the code generator.
staleyLANL Jan 21, 2023
7ba43af
Oops, in code generator.
staleyLANL Jan 21, 2023
6ffabb5
Attempt to consolidate some GNDS 2.0 specs.
staleyLANL Jan 26, 2023
1defffd
Getting there...
staleyLANL Jan 29, 2023
933f279
Simple but highly useful code-generator enhancements.
staleyLANL Jan 29, 2023
26ddab1
Clean up and trim down some .json specs.
staleyLANL Jan 30, 2023
6c4dc0d
Some code generator tweaks.
staleyLANL Jan 31, 2023
1a069f7
Merge branch 'feature/incident-neutron' of https://github.com/njoy/GN…
staleyLANL Jan 31, 2023
c1d98ea
Work related to the code generator and to GNDS 2.0 work.
staleyLANL Jan 31, 2023
4367e1b
Housekeeping.
staleyLANL Jan 31, 2023
98663f8
Merge remote-tracking branch 'origin/feature/incident-neutron' into c…
staleyLANL Jan 31, 2023
7928790
Code generator colorization, for fun and profit. Fun, at least.
staleyLANL Jan 31, 2023
2142070
Updated a couple of test codes, to reflect recent prettyprinting chan…
staleyLANL Jan 31, 2023
bf604c2
Including generated "GNDS 2.0 alpha" files.
staleyLANL Jan 31, 2023
ed55bab
Simplify .json spec files.
staleyLANL Feb 1, 2023
1c8a9b8
Code generator: always fully generate copy and move assignment.
staleyLANL Feb 2, 2023
c8b78fe
Miscellaneous improvements to the autogenerator input files.
staleyLANL Feb 2, 2023
75e5999
Merge branch 'feature/gnds-2.0-alpha' of github.com:njoy/GNDStk into …
staleyLANL Feb 2, 2023
1e30abf
Some reformatting of generator files, for readability.
staleyLANL Feb 2, 2023
c434254
Refactoring.
staleyLANL Feb 3, 2023
5614ae5
Remove pre-refactor generated files.
staleyLANL Feb 3, 2023
d11b154
Small change to the input file for the code generator
staleyLANL Feb 3, 2023
4ba7738
Post-refactor autogenerated files.
staleyLANL Feb 3, 2023
bde97fa
Consolidated two different PoPs nodes.
staleyLANL Feb 3, 2023
fe752e1
Consolidated two of the three "distribution" nodes.
staleyLANL Feb 3, 2023
e983b39
Slight simplifications in the example code.
staleyLANL Feb 3, 2023
c44a70c
Some work on example codes.
staleyLANL Feb 3, 2023
8e4ff59
Wrapping up some examples.
staleyLANL Feb 3, 2023
4b513dd
Updating generated files.
staleyLANL Feb 3, 2023
4944c3f
Some odds and ends. Code generator formatting change, for code ease o…
staleyLANL Feb 3, 2023
d6c65be
Working towards getting the python bindings up and running again.
staleyLANL Feb 7, 2023
8e1c920
Merge branch 'feature/gnds-2.0-alpha' of github.com:njoy/GNDStk into …
staleyLANL Feb 7, 2023
8501668
Some changes in the code generator.
staleyLANL Feb 7, 2023
2d2d3e6
With luck, Python tests up and running again.
staleyLANL Feb 8, 2023
912e007
This week's work, largely regarding Python bindings.
staleyLANL Feb 10, 2023
71d0a44
Lots of work on the Python interface.
staleyLANL Feb 10, 2023
50d7393
Some CMakeLists.txt cleanup, and small Node.python.cpp changes.
staleyLANL Feb 10, 2023
0b5a2b7
Merge branch 'feature/gnds-2.0-alpha' of github.com:njoy/GNDStk into …
staleyLANL Feb 10, 2023
843fe5e
Small formatting changes.
staleyLANL Feb 10, 2023
6234039
Miscellaneous small changes, and some regenerated code.
staleyLANL Feb 15, 2023
462cee1
Newly generated codes.
staleyLANL Feb 15, 2023
35374b5
Another generated-class update, given some improvements to the code g…
staleyLANL Feb 16, 2023
b720a38
Numerous improvements and additions to the code generator.
staleyLANL Feb 16, 2023
f974eec
Added some comments where comments were deserved.
staleyLANL Feb 16, 2023
dcffa41
Updated lots of autogenerated files.
staleyLANL Feb 16, 2023
1235ac1
Name changes, and some work on the code generator.
staleyLANL Feb 17, 2023
513931e
First cut at an automatic shortcut creation capability.
staleyLANL Feb 17, 2023
6076974
Merge branch 'feature/gnds-2.0-alpha' of https://github.com/njoy/GNDS…
staleyLANL Feb 17, 2023
b30d838
Various improvements to the shortcut generation code.
staleyLANL Feb 20, 2023
da70eb2
Made the shortcut generator more flexible.
staleyLANL Feb 22, 2023
ddab317
Updating generated code.
staleyLANL Feb 23, 2023
4bee8e0
Shortcuts now written to C++ and to Python-binding code.
staleyLANL Feb 23, 2023
ce81699
Updates to Component printing, used for Python __repr__.
staleyLANL Feb 27, 2023
f5fc4d4
print() details.
staleyLANL Feb 28, 2023
82a928a
Python mode for printing.
staleyLANL Mar 7, 2023
27a1b7e
Began writing python bindings for certain global settings that GNDStk…
staleyLANL Mar 16, 2023
ef2e240
Improve python-bindings build speed by a factor > 3.
staleyLANL Mar 20, 2023
7ea73d8
Various and sundry global settings are now available in the Python in…
staleyLANL Mar 23, 2023
c487848
Updates/fixes to how the code generator makes C functions.
staleyLANL Mar 30, 2023
5557527
Reviewing and improving class Field.
staleyLANL Mar 31, 2023
8f925ec
Work on the Field and Lookup classes.
staleyLANL Apr 10, 2023
c23d29a
Regenerate some generated files.
staleyLANL Apr 11, 2023
95b6546
Some cleanup, in particular removing old files that won't be used.
staleyLANL Apr 17, 2023
bab98b9
Work regarding better handling re: index vs. label vs. class Lookup.
staleyLANL Apr 19, 2023
dda53ef
Small cleanup: ensure newline at EOF of each text file.
staleyLANL Apr 19, 2023
3343ae2
A couple of small but worthwhile code improvements:
staleyLANL Apr 19, 2023
db4afb5
Cleanup regarding size_t.
staleyLANL Apr 20, 2023
f94f790
Updated autogenerated file.
staleyLANL Apr 20, 2023
619b6ef
Upload (partial) of latest work on Component infrastructure.
staleyLANL May 5, 2023
8ccb129
Some refactoring and rearrangement of Component-related material.
staleyLANL May 15, 2023
3ebd840
Updated files, reflecting some recent cleanup/simplification.
staleyLANL May 22, 2023
d09c337
Workaround for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85282
staleyLANL May 22, 2023
491f75d
Some improved exposition.
staleyLANL May 22, 2023
5f221c7
Added a new Node() overload and some SFINAE.
staleyLANL Jun 9, 2023
c7400da
Updating CI config to make it run again
whaeck Jun 19, 2023
97bb802
Changing OS for HDF5 library installation in CI
whaeck Jun 19, 2023
1eccc46
Complete replacement of NLohmann JSON with our own.
staleyLANL Jun 29, 2023
2520a18
Some cleanup associated with the new vs. old JSON.
staleyLANL Jun 29, 2023
d9043e5
Changes/cleanup/simplifications, mostly related to class Component.
staleyLANL Jul 7, 2023
1d08482
Possibly suppress warnings a user is getting on a particular platform.
staleyLANL Jul 12, 2023
b59c77c
Had to initialize min and max differently.
staleyLANL Jul 12, 2023
1a39ffd
Some tweaks regarding JSON code constructors and assignment operators.
staleyLANL Jul 12, 2023
de346d4
Made HDF5 optional.
staleyLANL Jul 17, 2023
48e4db5
JSON support, like HDF5 support, is now optional.
staleyLANL Jul 19, 2023
35c7987
Some .cc files renamed to .cpp.
staleyLANL Jul 25, 2023
9b9cbaf
Removed deprecated, unused "GNDS 2.0" python.cpp files.
staleyLANL Jul 25, 2023
3d96a4c
Removed a deprecated initial attempt to make GNDS 2.0 code.
staleyLANL Jul 25, 2023
ff6cb5c
Removed autogenerated files that are deprecated anyway.
staleyLANL Jul 25, 2023
7c92bcb
Merge branch 'feature/faster-python-build' into feature/reorg
whaeck Jul 25, 2023
e305595
Switch off hdf5 support for tests
whaeck Jul 25, 2023
dc756c8
Removed remaining deprecated GNDS 2.0 files.
staleyLANL Jul 25, 2023
68cdf09
Fix a couple of errors reported by the CI.
staleyLANL Jul 25, 2023
b49134a
Renaming.
staleyLANL Jul 25, 2023
bc3a5d6
Try to fix a CI error.
staleyLANL Jul 25, 2023
972fef1
Some more renamings.
staleyLANL Jul 25, 2023
5a55315
Name change alpha ==> gnds.
staleyLANL Jul 25, 2023
4d6e5c2
Some reworking of certain enumerators.
staleyLANL Jul 26, 2023
a2c7ee5
Updated code generator to use NJOY_ in front of GNDSTK_.
staleyLANL Jul 26, 2023
68b9026
Updating some files with an NJOY_ prefix where applicable.
staleyLANL Jul 26, 2023
badde99
More NJOY_ prefixes where they're now needed.
staleyLANL Jul 26, 2023
6f17830
Simple refactoring of some enums-namespace constructs.
staleyLANL Jul 27, 2023
54b31b4
Removed a couple of references to "GNDS v1.9".
staleyLANL Jul 27, 2023
dd3bfbe
In enums::, implemented and used map2string<> and reverseMap().
staleyLANL Jul 27, 2023
575ce31
Updating workflow
whaeck Jul 31, 2023
630bbc4
Merge branch 'feature/reorg' of github.com:njoy/GNDStk into feature/r…
whaeck Jul 31, 2023
4031717
Merge branch 'feature/reorg' of https://github.com/njoy/GNDStk into f…
staleyLANL Jul 31, 2023
94d33f4
Renamed a directory.
staleyLANL Aug 3, 2023
f030b5b
Moving/renaming.
staleyLANL Aug 3, 2023
7af9cad
Finished (?) some file renaming and associated changes.
staleyLANL Aug 4, 2023
9cbe6b9
Some reworking of how python constructs are arranged.
staleyLANL Aug 4, 2023
9989081
Moved some files.
staleyLANL Aug 4, 2023
e1abcc9
New autogenerated file, for the version-specific python interface.
staleyLANL Aug 4, 2023
38e7813
Finished some reorganization of enumerators.
staleyLANL Aug 29, 2023
d031db0
Some fixes, to get the python bindings to compile again.
staleyLANL Aug 29, 2023
15475cc
The code generator now (partially) handles enums.
staleyLANL Aug 29, 2023
5f043f2
Various enums- and python-related changes.
staleyLANL Sep 1, 2023
3cfe4bb
Preliminary Fortran-interface generator.
staleyLANL Sep 18, 2023
c41ca69
Update autogenerated C code. Minor change in many files.
staleyLANL Sep 18, 2023
f4dfbc1
Autogenerated Fortran bindings.
staleyLANL Sep 18, 2023
da874c7
Handle bool correctly in the Fortran interface.
staleyLANL Sep 18, 2023
080539f
Mostly just renaming branch now. A couple of .gitignore modifications.
staleyLANL Sep 19, 2023
66f929f
Possible fix for a strange g++ -Wsubobject-linkage warning.
staleyLANL Sep 19, 2023
786f6b9
Various updates and improvements to the Fortran code generation.
staleyLANL Sep 26, 2023
ec55b6a
Relatively minor changes to Fortran-generation code.
staleyLANL Sep 26, 2023
03d4760
Update autogenerated GNDS 2.0 codes.
staleyLANL Sep 26, 2023
07d4477
Added some new, autogenerated Fortran files in prototype/.
staleyLANL Sep 26, 2023
b3ea505
Reformatted some code-generation files to have <= 80 characters.
staleyLANL Sep 26, 2023
953345e
Some small-scale factoring to eliminate repetition.
staleyLANL Sep 27, 2023
613f34b
Fixes for some autogenerated Fortran functions.
staleyLANL Sep 29, 2023
71230a4
Updated autogenerated codes.
staleyLANL Sep 29, 2023
31fd43b
Small changes to the C and Fortran interface generation code.
staleyLANL Sep 29, 2023
aff80db
Usability updates and improvements to the Simple JSON code.
staleyLANL Jan 30, 2024
2e98e25
More JSON updates. Basically code cleanup and redux.
staleyLANL Feb 1, 2024
89c6036
More JSON work; and no longer need items().
staleyLANL Feb 7, 2024
8ac1aef
JSON updates.
staleyLANL Oct 1, 2024
7fe2c2b
JSON Update.
staleyLANL Oct 2, 2024
210fa96
Latest JSON (from other work); tweaked certain GNDStk codes as necess…
staleyLANL Dec 5, 2024
739185f
Some JSON-related updates.
staleyLANL Jan 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 13 additions & 4 deletions .github/workflows/ContinuousIntegration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
name: Continuous Integration

# This workflow is triggered on pushes and pull requests to the repository.
# This workflow will also run each Monday on the default branch (i.e. master)
on:
schedule:
- cron: '0 0 * * 1'
push:
branches: '**'
pull_request:
Expand All @@ -13,20 +16,26 @@ jobs:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ ubuntu-18.04, macos-10.15 ]
cxx: [ g++-9, clang++ ]
os: [ ubuntu-20.04, macos-11 ]
cxx: [ clang++, g++-10 ]
build_type: [ Debug, Release ]

steps:
- name: Install hdf5 libraries for Linux
if: matrix.os == 'ubuntu-20.04'
run: sudo apt-get install libhdf5-dev
- name: Install hdf5 libraries for MacOS
if: matrix.os == 'macos-11'
run: brew install hdf5
- name: which CXX
run: |
which ${{matrix.cxx}}
${{matrix.cxx}} --version
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: mkdir bin
run: mkdir bin
- name: cmake
run: cmake -DPYTHON_EXECUTABLE=$(which python3) -D CMAKE_CXX_COMPILER=`which ${{matrix.cxx}}` -D CMAKE_BUILD_TYPE=${{matrix.build_type}} ..
run: cmake -DPYTHON_EXECUTABLE=$(which python3) -D CMAKE_CXX_COMPILER=`which ${{matrix.cxx}}` -D CMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_COMPILER_FLAGS="-DNJOY_GNDSTK_DISABLE_HDF5" ..
working-directory: ./bin
- name: make
run: make -j2
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ build
*~
metaconfigure/*.pyc
docs/.build
debug
minsizerel
release
406 changes: 356 additions & 50 deletions CMakeLists.txt

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ Additionally, redistribution and use in source and binary forms, with or without
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of Los Alamos National Security, LLC, Los Alamos National Laboratory, LANL, the U.S. Government, nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY LOS ALAMOS NATIONAL SECURITY, LLC AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL LOS ALAMOS NATIONAL SECURITY, LLC OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
THIS SOFTWARE IS PROVIDED BY LOS ALAMOS NATIONAL SECURITY, LLC AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL LOS ALAMOS NATIONAL SECURITY, LLC OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
![Continuous Integration](https://github.com/njoy/GNDStk/workflows/Continuous%20Integration/badge.svg)

# GNDStk
Generalized Nuclear Database Structure toolkit
Toolkit for reading and interacting with GNDS formatted files. This toolkit provides a full C++ library along with python bindings.

## LICENSE
This software is copyrighted by Los Alamos National Laboratory and distributed according to the conditions in the accompanying [LICENSE](LICENSE) file.
1 change: 0 additions & 1 deletion autogen/.gitignore

This file was deleted.

9 changes: 4 additions & 5 deletions autogen/changes.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@
"name": {
"// REMARK": [
"These give changes to apply to METADATUM or CHILD NODE names.",
"GNDS v1.9 does in fact have a child node named [double]. But",
"that name won't work in C++, so the following forces a change."
"GNDS does in fact have a child node named [double]. But that",
"name won't work in C++, so the following forces a change."
],
"double": "Double"
},

"metadata": {
"type": {
"Boolean": "bool",
"string": "std::string",
"encoding": "enums::Encoding",
"frame": "enums::Frame",
"interaction": "enums::Interaction",
Expand Down Expand Up @@ -40,7 +39,7 @@
"nuclear": "enums::Interaction::nuclear",
"atomic": "enums::Interaction::atomic",
"thermalNeutronScatteringLaw":
"enums::Interaction::thermalNeutronScatteringLaw",
"enums::Interaction::thermalNeutronScatteringLaw",

"// INTERPOLATION": {},
"flat": "enums::Interpolation::flat",
Expand All @@ -55,7 +54,7 @@
"row-major": "enums::StorageOrder::rowMajor",
"column-major": "enums::StorageOrder::columnMajor",

"// MISCELLANEOUS CONTENT SEEN IN THE GNDS V1.9 SPEC": {},
"// MISCELLANEOUS CONTENT SEEN IN THE GNDS SPECS": {},
"`' (i.e. unitless)": "",
" \\\\kern-1ex": "",
"`' (no label)": "",
Expand Down
Loading
Loading