WARPXM v1.10.0
Loading...
Searching...
No Matches
dfem_kernels.h
Go to the documentation of this file.
1#pragma once
2
3#include "warpxm/warpxm_config.h"
4#include "basis/basis.h"
5#include "lib/wxrange.h"
7
8namespace wxm
9{
10namespace dfem
11{
12
22 const WxRange& element_scope_range,
24 std::vector<real>& output);
25
31 const WmBasisArraySet& basis_set,
32 const real* lagrange_nodal_values,
33 std::vector<real>& pp_quad_node_values,
34 bool include_gaussian_quad_nodes,
35 bool include_interior_lgl_nodes);
36
37} // namespace dfem
38} // namespace wxm
Definition: wmbasisarrayset.h:13
WxRange represents a hyper-rectangular domain of an n-dimensional space of integers.
Definition: wxrange.h:23
Definition: array.h:190
void 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 ...
void 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.
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8
#define real
Definition: wmoclunstructuredreconstruction.h:11