|
Mallard 0.8.0
Unstructured, GPU accelerated, high-order finite volume CFD solver
Mallard website |
Boundary condition parsing. More...
#include "boundary.h"#include "input.h"#include <algorithm>#include <array>#include <limits>#include <stdexcept>#include <unordered_map>#include <unordered_set>#include <vector>#include "mesh.h"#include "synthetic_inflow.h"Functions | |
| BoundaryData | make_boundary_data (const Mesh &mesh, const std::vector< int32_t > &h_face_bc_vec, const std::vector< BoundaryCondition > &h_bcs_vec, rtype gamma, rtype R, bool viscous, const Euler &gas) |
| Build BoundaryData (face -> condition map and transmissive image cells) on the host and copy it to the device. | |
Boundary condition parsing.
| BoundaryData make_boundary_data | ( | const Mesh & | mesh, |
| const std::vector< int32_t > & | h_face_bc, | ||
| const std::vector< BoundaryCondition > & | h_bcs, | ||
| rtype | gamma, | ||
| rtype | R = 1.0, |
||
| bool | viscous = false, |
||
| const Euler & | gas = Euler() |
||
| ) |
Build BoundaryData (face -> condition map and transmissive image cells) on the host and copy it to the device.
| mesh | Mesh. |
| h_face_bc | Index into h_bcs for each face, -1 for interior faces. |
| h_bcs | Boundary conditions. |
| gamma | Ratio of specific heats. |
| R | Gas constant. |
| viscous | Whether walls enforce no-slip. |
| gas | Gas model (transport properties for heat-flux walls). |