peclet-amr 0.2.0
Block-local-Morton AMR octree + collocated cut-cell Navier–Stokes solver (header-only C++20, Kokkos + MPI)
Loading...
Searching...
No Matches
peclet::amr::MomScaleSink< Sink > Struct Template Reference

Sink adapter: forwards each face from the FvFaceEmit traversal as (j, factor·coef) to the real CSR sink — turns the plain geometric coeff into the regular-fluid momentum coupling −μ·invV·(a·c). More...

#include <momentum_assembly.hpp>

Public Member Functions

void operator() (Index j, double c) const

Public Attributes

Sink * sink
double factor

Detailed Description

template<class Sink>
struct peclet::amr::MomScaleSink< Sink >

Sink adapter: forwards each face from the FvFaceEmit traversal as (j, factor·coef) to the real CSR sink — turns the plain geometric coeff into the regular-fluid momentum coupling −μ·invV·(a·c).

Definition at line 42 of file momentum_assembly.hpp.

Member Function Documentation

◆ operator()()

template<class Sink>
void peclet::amr::MomScaleSink< Sink >::operator() ( Index j,
double c ) const
inline

Definition at line 45 of file momentum_assembly.hpp.

References factor.

Member Data Documentation

◆ sink

template<class Sink>
Sink* peclet::amr::MomScaleSink< Sink >::sink

Definition at line 43 of file momentum_assembly.hpp.

◆ factor

template<class Sink>
double peclet::amr::MomScaleSink< Sink >::factor

Definition at line 44 of file momentum_assembly.hpp.

Referenced by operator()().


The documentation for this struct was generated from the following file: