WARPXM v1.10.0
Loading...
Searching...
No Matches
dfem_kernels.h File Reference
#include "warpxm/warpxm_config.h"
#include "basis/basis.h"
#include "lib/wxrange.h"
#include "dfem/array/patch_array.h"

Go to the source code of this file.

Namespaces

namespace  wxm
 Base namespace for everything not included in the global namespace.
 
namespace  wxm::dfem
 

Functions

void wxm::dfem::elementwise_average (const WmBasisArraySet &basis_set, const WxRange &element_scope_range, const wxm::array::patch_array_t &q, std::vector< real > &output)
 Compute the average of q on each element and write it into output.
 
void wxm::dfem::convertLagrangeNodesToPositivityPreservingQuadNodes (const WmBasisArraySet &basis_set, const real *lagrange_nodal_values, std::vector< real > &pp_quad_node_values, bool include_gaussian_quad_nodes, bool include_interior_lgl_nodes)
 Convert the nodal values of a polynomial at the Lagrange interpolation points to its nodal values at the positivity-preserving quadrature nodes.