WARPXM v1.10.0
Loading...
Searching...
No Matches
dfem.h
Go to the documentation of this file.
1#ifndef DFEM_H
2#define DFEM_H
3
4/* stl includes */
5#include <cmath>
6#include <limits>
7
8/* warpxm includes */
10#include "warpxm/warpxm_config.h"
11
12#include "apps/wmapplication.h"
14
15namespace wxm
16{
17namespace dfem
18{
20// geometry calls
21
23 const real* globalFaceGeometryData,
24 const int globalFaceIndex,
25 const int face_geometry_block_size,
26 const int num_dims,
27 const real cfl_max = 0);
28
30 const real* globalFaceGeometryData,
31 const int globalFaceIndex,
32 const int nodeIndex,
33 const int face_geometry_block_size);
34
36 const real* globalElementGeometryData,
37 const int elementIndex,
38 const int element_geometry_block_size,
39 const int num_dims,
40 const real cfl_max = 0);
41
43 const real* globalElementGeometryData,
44 const int elementIndex,
45 const int nodeIndex,
46 const int element_geometry_block_size);
47
49 const real* globalElementGeometryData,
50 int elementIndex,
51 int nodeIndex,
52 int element_geometry_block_size);
53
55 const std::vector<std::unique_ptr<WmApplication>>& apps,
56 const std::vector<int> flags);
57
58std::pair<size_t, size_t>
59req_buffer_size(const std::vector<std::unique_ptr<WmApplication>>& apps,
60 std::vector<size_t>& all_idcs,
61 std::vector<size_t>& out_idcs,
62 int flag,
63 bool& has);
64
66 real tangent[3],
67 real binormal[3]);
68
69/* /////////////////////////////////////////////////////////////////////////////////////////////
70 */
71} // namespace dfem
72} // namespace wxm
73
74#endif // DFEM_H
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 loadFaceNodeGeometry(solverVariables_t *pSV, const real *globalFaceGeometryData, const int globalFaceIndex, const int nodeIndex, const int face_geometry_block_size)
void loadElementNodeGeometry(solverVariables_t *pSV, const real *globalElementGeometryData, const int elementIndex, const int nodeIndex, const int element_geometry_block_size)
void constructTangentAndBinormalFromNormal(const real normal[3], real tangent[3], real binormal[3])
void verify_uniqueness_of_app_variable_lists(const std::vector< std::unique_ptr< WmApplication > > &apps, const std::vector< int > flags)
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)
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)
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8
Definition: wmapplication.h:38
Definition: integrate_app.h:9
#define real
Definition: wmoclunstructuredreconstruction.h:11