|
| | MUSCL () |
| |
| | ~MUSCL () |
| |
| void | init (const toml::value &input) override |
| | Initialize the face reconstruction.
|
| |
| logging::Items | summary () const override |
| | Display lines for the run log.
|
| |
| uint8_t | n_face_quadrature_points () const override |
| | Get the number of quadrature points per face.
|
| |
| void | calc_face_values (Kokkos::View< rtype *[N_CONSERVATIVE]> solution, Kokkos::View< rtype **[2][N_CONSERVATIVE]> face_solution) override |
| | Reconstruct the face values.
|
| |
| std::vector< uint32_t > | cells_independent_of_halo (uint32_t n_owned) const override |
| | Cells below n_owned whose reconstruction reads no cell at or above n_owned, so that calc_cell_face_values can reconstruct them before the halo is filled. Empty if this reconstruction cannot be split by cells.
|
| |
| void | calc_cell_face_values (const Kokkos::DefaultExecutionSpace &exec, Kokkos::View< rtype *[N_CONSERVATIVE]> solution, Kokkos::View< rtype **[2][N_CONSERVATIVE]> face_solution, Kokkos::View< uint32_t * > cells) override |
| | Reconstruct the listed cells' sides of their faces, on the given execution space instance, as far as each cell can on its own (see cells_independent_of_halo()). Once every reconstructed cell went through this and those instances are fenced, finish_cell_face_values() completes the face values.
|
| |
| void | finish_cell_face_values (Kokkos::View< rtype *[N_CONSERVATIVE]> solution, Kokkos::View< rtype **[2][N_CONSERVATIVE]> face_solution) override |
| | Complete the face values after calc_cell_face_values().
|
| |
| | FaceReconstruction () |
| | Construct a new Face Reconstruction object.
|
| |
| virtual | ~FaceReconstruction () |
| | Destroy the Face Reconstruction object.
|
| |
| void | set_mesh (std::shared_ptr< Mesh > mesh) |
| | Set the mesh.
|
| |
| void | set_boundaries (const BoundaryData &boundaries) |
| | Set the boundary data used for ghost states.
|
| |
| FaceReconstructionType | get_type () const |
| | Get the face reconstruction type.
|
| |
| virtual bool | cell_gradients (Kokkos::View< rtype *[N_CONSERVATIVE]>, Kokkos::View< rtype *[N_CONSERVATIVE][N_DIM]>, uint32_t) |
| | Gradients of W = [rho, u, p] at the centroids of the first n_cells cells from the reconstruction polynomials, if the scheme has higher-order ones than least squares on face neighbors.
|
| |
| virtual void | axisymmetric_source (Kokkos::View< rtype *[N_CONSERVATIVE]>, Kokkos::View< rtype *, Kokkos::LayoutStride >, Kokkos::View< rtype * >, uint32_t) |
| | Axisymmetric runs: for each of the first n_cells cells whose reconstruction has a smooth polynomial, replace source(c) by int (p - tau_thetatheta) dA over the planar cell, with p and the velocity of the polynomial at cell quadrature points and the cell viscosity mu(c) (inviscid if mu is empty). Other cells keep their source, which the caller set from cell values.
|
| |
| void | init_face_quadrature_3d (uint8_t degree) |
| | Set up per-face quadrature (3D): Dunavant rules on triangles and Gauss rules mapped bilinearly onto quadrilaterals, exact for polynomials of the given degree on planar faces (degree <= 1 uses the face centroid). Also maps each quadrature point of a transmissive boundary face to the matching point of its image face (BoundaryData::face_image_quad).
|
| |
| void | init_face_quadrature_2d_curved () |
| | Curved meshes in 2D: per-face quadrature points, weights and normals for quadrature_face's Gauss rule on every face, the curved faces' mapped onto their curves (nothing otherwise).
|
| |
Second-order MUSCL reconstruction of W = [rho, u_x, u_y, p] using least-squares gradients and a slope limiter.