WARPXM v1.10.0
Loading...
Searching...
No Matches
wxm::dfem Namespace Reference

Namespaces

namespace  array
 
namespace  solver
 
namespace  sync
 
namespace  tools
 
namespace  variable
 
namespace  variable_adjuster
 

Classes

class  dg_integrator
 
class  dg_max_integrator
 Useful for computing an L-infinity norm where you're interested in the max value. More...
 

Functions

void loadFaceBaseGeometry (solverVariables_t *pSV, const real *globalFaceGeometryData, const int globalFaceIndex, const int face_geometry_block_size, const int num_dims, const real cfl_max=0)
 
void loadFaceNodeGeometry (solverVariables_t *pSV, const real *globalFaceGeometryData, const int globalFaceIndex, const int nodeIndex, const int face_geometry_block_size)
 
void loadElementBaseGeometry (solverVariables_t *pSV, const real *globalElementGeometryData, const int elementIndex, const int element_geometry_block_size, const int num_dims, const real cfl_max=0)
 
void loadElementNodeGeometry (solverVariables_t *pSV, const real *globalElementGeometryData, const int elementIndex, const int nodeIndex, const int element_geometry_block_size)
 
void loadElementNodeGeometry (wxm::integrateVariables &sV, const real *globalElementGeometryData, int elementIndex, int nodeIndex, int element_geometry_block_size)
 
void verify_uniqueness_of_app_variable_lists (const std::vector< std::unique_ptr< WmApplication > > &apps, const std::vector< int > flags)
 
std::pair< size_t, size_t > req_buffer_size (const std::vector< std::unique_ptr< WmApplication > > &apps, std::vector< size_t > &all_idcs, std::vector< size_t > &out_idcs, int flag, bool &has)
 
void constructTangentAndBinormalFromNormal (const real normal[3], real tangent[3], real binormal[3])
 
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.
 
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 the positivity-preserving quadrature nodes.
 

Function Documentation

◆ constructTangentAndBinormalFromNormal()

void wxm::dfem::constructTangentAndBinormalFromNormal ( const real  normal[3],
real  tangent[3],
real  binormal[3] 
)

◆ convertLagrangeNodesToPositivityPreservingQuadNodes()

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.

◆ elementwise_average()

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.

Parameters
basis_setthe nodal basis set on which q is defined
element_scope_rangethe range of elements on which to compute an average
qthe variable component
outputthe vector of elementwise averages

◆ loadElementBaseGeometry()

void wxm::dfem::loadElementBaseGeometry ( solverVariables_t pSV,
const real globalElementGeometryData,
const int  elementIndex,
const int  element_geometry_block_size,
const int  num_dims,
const real  cfl_max = 0 
)

◆ loadElementNodeGeometry() [1/2]

void wxm::dfem::loadElementNodeGeometry ( solverVariables_t pSV,
const real globalElementGeometryData,
const int  elementIndex,
const int  nodeIndex,
const int  element_geometry_block_size 
)

◆ loadElementNodeGeometry() [2/2]

void wxm::dfem::loadElementNodeGeometry ( wxm::integrateVariables sV,
const real globalElementGeometryData,
int  elementIndex,
int  nodeIndex,
int  element_geometry_block_size 
)

◆ loadFaceBaseGeometry()

void wxm::dfem::loadFaceBaseGeometry ( solverVariables_t pSV,
const real globalFaceGeometryData,
const int  globalFaceIndex,
const int  face_geometry_block_size,
const int  num_dims,
const real  cfl_max = 0 
)

◆ loadFaceNodeGeometry()

void wxm::dfem::loadFaceNodeGeometry ( solverVariables_t pSV,
const real globalFaceGeometryData,
const int  globalFaceIndex,
const int  nodeIndex,
const int  face_geometry_block_size 
)

◆ req_buffer_size()

std::pair< size_t, size_t > wxm::dfem::req_buffer_size ( const std::vector< std::unique_ptr< WmApplication > > &  apps,
std::vector< size_t > &  all_idcs,
std::vector< size_t > &  out_idcs,
int  flag,
bool &  has 
)

◆ verify_uniqueness_of_app_variable_lists()

void wxm::dfem::verify_uniqueness_of_app_variable_lists ( const std::vector< std::unique_ptr< WmApplication > > &  apps,
const std::vector< int >  flags 
)