|
OpenImpala
Image-based parallel transport property solver
|
Computes a through-thickness volume fraction profile. More...
#include <ThroughThicknessProfile.H>
Public Member Functions | |
| void | compute (const amrex::Geometry &geom, const amrex::iMultiFab &mf_phase, int phase_id, OpenImpala::Direction dir, int comp) |
| Compute the profile (public for CUDA device lambda compatibility). | |
| int | numSlices () const |
| Returns the number of slices. | |
| ThroughThicknessProfile & | operator= (const ThroughThicknessProfile &)=delete |
| ThroughThicknessProfile & | operator= (ThroughThicknessProfile &&)=default |
| ThroughThicknessProfile (const amrex::Geometry &geom, const amrex::iMultiFab &mf_phase, int phase_id, OpenImpala::Direction dir, int comp=0) | |
| Construct and compute the through-thickness profile. | |
| ThroughThicknessProfile (const ThroughThicknessProfile &)=delete | |
| ThroughThicknessProfile (ThroughThicknessProfile &&)=default | |
| const std::vector< amrex::Real > & | volumeFractionProfile () const |
| Returns the volume fraction profile (one value per slice). | |
| ~ThroughThicknessProfile ()=default | |
Computes a through-thickness volume fraction profile.
Slices the domain along the specified direction into individual planes (one voxel thick each) and computes the local volume fraction of the target phase in each slice. This produces a 1D array epsilon(z).
| OpenImpala::ThroughThicknessProfile::ThroughThicknessProfile | ( | const amrex::Geometry & | geom, |
| const amrex::iMultiFab & | mf_phase, | ||
| int | phase_id, | ||
| OpenImpala::Direction | dir, | ||
| int | comp = 0 ) |
Construct and compute the through-thickness profile.
| geom | AMReX Geometry. |
| mf_phase | iMultiFab containing phase IDs. |
| phase_id | Phase to compute the profile for. |
| dir | Direction to slice along. |
| comp | Component index within mf_phase (default 0). |
|
delete |
|
default |
|
default |
| void OpenImpala::ThroughThicknessProfile::compute | ( | const amrex::Geometry & | geom, |
| const amrex::iMultiFab & | mf_phase, | ||
| int | phase_id, | ||
| OpenImpala::Direction | dir, | ||
| int | comp ) |
Compute the profile (public for CUDA device lambda compatibility).
|
inline |
Returns the number of slices.
|
delete |
|
default |
|
inline |
Returns the volume fraction profile (one value per slice).