impl Namespace Reference
|
Kynema-SGF API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
kynema_sgf::fvm::impl Namespace Reference
Functions | |
| template<typename FvmOp, typename FType> | |
| AMREX_INLINE void | apply (const FvmOp &fvmop, const FType &fld) |
Function Documentation
◆ apply()
template<typename FvmOp, typename FType>
| AMREX_INLINE void kynema_sgf::fvm::impl::apply | ( | const FvmOp & | fvmop, |
| const FType & | fld ) |
Apply a finite volume operator for a given field.
For each level, dispatches one fused kernel per stencil type over all FABs in the MultiFab, replacing the previous per-FAB MFIter loop. The interior stencil is applied to every valid cell; boundary stencils overwrite only the cells that sit on a non-periodic domain face / edge / corner, with stencil applicability determined by each Stencil type's applies_to() method inside the kernel.
Generated by