#include <phaseFieldCoupling.h>
Definition at line 359 of file phaseFieldCoupling.h.
◆ apply()
template<typename CELL >
| void olb::VelocityCoupling::apply |
( |
CELL & | cells | ) |
|
|
inline |
Definition at line 367 of file phaseFieldCoupling.h.
368 {
369 using V = typename CELL::template value_t<names::NavierStokes>::value_t;
370 using DESCRIPTOR = typename CELL::template value_t<names::NavierStokes>::descriptor_t;
371
372 auto& cellNS = cells.template get<names::NavierStokes>();
373 auto& cellAC = cells.template get<names::Component1>();
374
375
376 V u[DESCRIPTOR::d] {};
377 cellNS.computeU(u);
378 cellAC.template setField<descriptors::VELOCITY>(u);
379 }
◆ getPriority()
| int olb::VelocityCoupling::getPriority |
( |
| ) |
const |
|
inline |
◆ scope
The documentation for this struct was generated from the following file: