diff options
author | 2021-07-13 23:04:31 -0700 | |
---|---|---|
committer | 2021-07-13 23:04:31 -0700 | |
commit | ffb3bb8e0ac21c2489906c1cf51d3f4dae235542 (patch) | |
tree | 8632faa062e3e76bfec4cd85671a56514b18b444 /Source/Parser/wp_parser_c.cpp | |
parent | 40e36e1860015214601d618c9ab847f623328867 (diff) | |
download | WarpX-ffb3bb8e0ac21c2489906c1cf51d3f4dae235542.tar.gz WarpX-ffb3bb8e0ac21c2489906c1cf51d3f4dae235542.tar.zst WarpX-ffb3bb8e0ac21c2489906c1cf51d3f4dae235542.zip |
amrex::Parser (#2063)
* amrex::Parser
Replace WarpXParser with amrex::Parser. Roundoff errors are expected because
of additional optimization in amrex::Parser.
* Reset the Langmuir_multi_psatd_single_precision benchmark due to change in single precision parser
* enable Intel oneAPI CI again
* Update Source/EmbeddedBoundary/WarpXInitEB.cpp
* Replace hard-coded number in ParticleDiag with a constexpr
Diffstat (limited to 'Source/Parser/wp_parser_c.cpp')
-rw-r--r-- | Source/Parser/wp_parser_c.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Source/Parser/wp_parser_c.cpp b/Source/Parser/wp_parser_c.cpp deleted file mode 100644 index fe217fdcc..000000000 --- a/Source/Parser/wp_parser_c.cpp +++ /dev/null @@ -1,13 +0,0 @@ -#include "wp_parser_c.h" -#include "wp_parser.lex.h" -#include "wp_parser.tab.h" - -struct wp_parser* -wp_c_parser_new (char const* body) -{ - YY_BUFFER_STATE buffer = wxparser_scan_string(body); - wxparserparse(); - struct wp_parser* parser = wp_parser_new(); - wxparser_delete_buffer(buffer); - return parser; -} |