aboutsummaryrefslogtreecommitdiff
path: root/Source/Parser/wp_parser_y.cpp
diff options
context:
space:
mode:
authorGravatar Axel Huebl <axel.huebl@plasma.ninja> 2021-04-05 14:04:43 -0700
committerGravatar GitHub <noreply@github.com> 2021-04-05 14:04:43 -0700
commitbc38a8fbd654cce8431a0fd720ca57a073ba050d (patch)
tree8a77fc69f2aa761fcd282fedbac64d9cec91603b /Source/Parser/wp_parser_y.cpp
parent72cda15299dbc070e0b33bdfb573e2d9dbd96a87 (diff)
downloadWarpX-bc38a8fbd654cce8431a0fd720ca57a073ba050d.tar.gz
WarpX-bc38a8fbd654cce8431a0fd720ca57a073ba050d.tar.zst
WarpX-bc38a8fbd654cce8431a0fd720ca57a073ba050d.zip
Parser: Bessel Function (J_n) (#1854)
* Parser: Bessel Function (J_n) Add the Bessel Function of the First Kind (J_n) to the parser. * Parser: regenerate * Parser: No jn for DPC++ (yet) * Parser: no jnf for Apple At least on AppleClang and also seen in flang source-code, we just call the double variant of `jn` instead of using a specialized call to `jnf`. This might be less efficient than needed with Intel on Apple, but I don't have a system to test this on at the moment and this is thus a save bet for compile stability. Co-authored-by: Tools <warpx@lbl.gov>
Diffstat (limited to 'Source/Parser/wp_parser_y.cpp')
-rw-r--r--Source/Parser/wp_parser_y.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Parser/wp_parser_y.cpp b/Source/Parser/wp_parser_y.cpp
index 978352201..1942f9c3e 100644
--- a/Source/Parser/wp_parser_y.cpp
+++ b/Source/Parser/wp_parser_y.cpp
@@ -769,6 +769,9 @@ wp_ast_print_f2 (struct wp_f2* f2)
case WP_HEAVISIDE:
std::printf("HEAVISIDE\n");
break;
+ case WP_JN:
+ std::printf("JN\n");
+ break;
case WP_MIN:
std::printf("MIN\n");
break;