WarpX
Functions
wp_parser_c.h File Reference
#include "wp_parser_y.h"
#include <AMReX_GpuQualifiers.H>
#include <AMReX_GpuPrint.H>
#include <AMReX_Extension.H>
#include <AMReX_REAL.H>
#include <AMReX_Print.H>
#include <AMReX.H>
#include <cassert>
#include <set>
#include <string>
#include <type_traits>

Go to the source code of this file.

Functions

struct wp_parserwp_c_parser_new (char const *function_body)
 
template<int Depth>
AMREX_GPU_HOST_DEVICE amrex::Real wp_ast_eval (struct wp_node *node, amrex::Real const *x)
 
template<int Depth, std::enable_if_t< Depth==WARPX_PARSER_DEPTH, int > = 0>
AMREX_GPU_HOST_DEVICE amrex::Real wp_ast_eval (struct wp_node *node, amrex::Real const *x)
 
void wp_ast_get_symbols (struct wp_node *node, std::set< std::string > &symbols)
 

Function Documentation

◆ wp_ast_eval() [1/2]

template<int Depth>
AMREX_GPU_HOST_DEVICE amrex::Real wp_ast_eval ( struct wp_node node,
amrex::Real const *  x 
)

◆ wp_ast_eval() [2/2]

template<int Depth, std::enable_if_t< Depth==WARPX_PARSER_DEPTH, int > = 0>
AMREX_GPU_HOST_DEVICE amrex::Real wp_ast_eval ( struct wp_node node,
amrex::Real const *  x 
)

◆ wp_ast_get_symbols()

void wp_ast_get_symbols ( struct wp_node node,
std::set< std::string > &  symbols 
)
inline

◆ wp_c_parser_new()

struct wp_parser* wp_c_parser_new ( char const *  function_body)