

Go to the source code of this file.
Namespaces | |
| namespace | PLIC |
Functions | |
| int | PLIC::nGrowF (std::string const &reconstruction) |
| The ghost cells of F that the operators of this library read, with the given reconstruction. Allocate and fill at least this many. | |
| void | PLIC::CheckMesh (amrex::MultiFab const &F, amrex::Geometry const &geom) |
| Abort unless the mesh is supported: Cartesian coordinates and no embedded boundaries. | |
| void | PLIC::FitPlanes (amrex::MultiFab &plane, amrex::MultiFab const &F, int ngrow, std::string const &reconstruction) |
| Fit the plane of each mixed cell, and zero the others. | |
Geometric volume-of-fluid transport with a piecewise-linear interface calculation (PLIC), for any AMReX-based solver.
The interface in each mixed cell is a plane, fitted to the volume fractions F (the liquid fraction of each cell) around it. The reconstruction, how the normal of the plane is computed, is selected by name: "youngs", "myc" or "myc_height". Like Godunov, MOL and BDS, the library provides spatial operators and leaves the update, the ghost cells and the synchronization of the levels to the solver.
Requires Cartesian coordinates, and has no embedded boundary support.