From ffb3bb8e0ac21c2489906c1cf51d3f4dae235542 Mon Sep 17 00:00:00 2001 From: Weiqun Zhang Date: Tue, 13 Jul 2021 23:04:31 -0700 Subject: 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 --- Source/Parser/wp_parser_c.cpp | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 Source/Parser/wp_parser_c.cpp (limited to 'Source/Parser/wp_parser_c.cpp') 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; -} -- cgit v1.2.3