MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
maia::lpt::collector::LptCells< nDim > Class Template Reference

Class that represents LPT cell collector. More...

#include <lptcellcollector.h>

Inheritance diagram for maia::lpt::collector::LptCells< nDim >:
[legend]
Collaboration diagram for maia::lpt::collector::LptCells< nDim >:
[legend]

Public Types

using BitsetType = maia::lpt::cell::BitsetType
 
template<class T >
using Invalid = typename maia::lpt::collector::Invalid< T >
 

Public Member Functions

constexpr LptCells ()=default
 Default c'tor does nothing. More...
 
BitsetType::reference hasProperty (const MInt id, const LptCell p)
 Accessor for properties. More...
 
MBool hasProperty (const MInt id, const LptCell p) const
 Accessor for properties (const version). More...
 
void resetProperties (const MInt id)
 Reset all properties. More...
 
BitsetTypeproperties (const MInt id)
 Accessor for properties. More...
 
MFloat volumeFraction (const MInt id) const
 
MFloatvolumeFraction (const MInt id)
 Accessor for volumeFraction. More...
 
MInt noParticles (const MInt id) const
 
MIntnoParticles (const MInt id)
 Accessor for noParticles. More...
 
MInt noEllipsoids (const MInt id) const
 
MIntnoEllipsoids (const MInt id)
 Accessor for noEllipsoids. More...
 
MInt bndryCellId (const MInt id) const
 
MIntbndryCellId (const MInt id)
 Accessor for bndryCellId. More...
 
MFloat fluidVariable (const MInt id, const MInt var) const
 
MFloatfluidVariable (const MInt id, const MInt var)
 Accessor for fluidVariables. More...
 
MFloat fluidSpecies (const MInt id) const
 
MFloatfluidSpecies (const MInt id)
 Accessor for fluidVariables. More...
 
MFloatmassFlux (const MInt id)
 Accessor for massFlux. More...
 
MFloat massFlux (const MInt id) const
 
MFloatheatFlux (const MInt id)
 Accessor for heatFlux. More...
 
MFloat heatFlux (const MInt id) const
 
MFloatmomentumFlux (const MInt id, const MInt dim)
 Accessor for momentumFlux. More...
 
MFloat momentumFlux (const MInt id, const MInt dim) const
 
MFloatworkFlux (const MInt id)
 Accessor for workFlux. More...
 
MFloat workFlux (const MInt id) const
 
MFloatvelocitySlope (const MInt id, const MInt varId, const MInt dim)
 
MFloat velocitySlope (const MInt id, const MInt varId, const MInt dim) const
 
void setLptCollectorNoSpecies (const MInt noSpecies)
 
void setLptCollectorCoupling (const MBool mass, const MBool momentum, const MBool heat)
 Set the lpt-collector type. More...
 
void setLptCollectorSlopes ()
 
- Public Member Functions inherited from maia::container::Container< LptCells< nDim >, Invalid >
constexpr Container ()=default
 Default c'tor does nothing. More...
 
constexpr MInt capacity () const
 Return capacity (i.e., maximum number of nodes) More...
 
void reset (const MInt capacity)
 Reset tree, re-create data structures with given capacity, and set size to zero. More...
 
void resize (const MInt capacity)
 Resize the container capacity. More...
 
constexpr MInt size () const
 Return size (i.e., currently used number of nodes) More...
 
void size (const MInt size_)
 Resize tree WITHOUT CONSIDERING ANY NODE CONSISTENCY! Use at own risk and remove ASAP... More...
 
void append (const MInt count)
 Append nodes to end of tree. More...
 
void append ()
 
void shrink (const MInt count)
 Remove nodes from end of tree. More...
 
void shrink ()
 
void copy (const T &source, const MInt begin, const MInt end, const MInt to)
 Copy nodes to another location without changing any parent/child/neighbor information. More...
 
void copy (const T &source, const MInt from, const MInt to)
 
void copy (const MInt begin, const MInt end, const MInt to)
 
void copy (const MInt from, const MInt to)
 
void move (const MInt begin, const MInt end, const MInt to)
 Move nodes to another location and update parent/child/neighbor information accordingly. More...
 
void move (const MInt from, const MInt to)
 
void swap (const MInt a, const MInt b)
 Swap two nodes and update parent/child/neighbor information accordingly. More...
 
void insert (const MInt begin, const MInt count)
 
void insert (const MInt id)
 
void erase (const MInt begin, const MInt end)
 Erase nodes in range [begin, end) and update parent/child/neighbor information. More...
 
void erase (const MInt id)
 
void removeAndShift (const MInt begin, const MInt end)
 
void removeAndShift (const MInt id)
 
void removeAndFill (const MInt begin, const MInt end)
 
void removeAndFill (const MInt id)
 
void clear ()
 Clear tree by invalidating all nodes and setting size to zero. More...
 
LptCells< nDim > & derived ()
 
const LptCells< nDim > & derived () const
 
void rawCopy (const T &source, const MInt begin, const MInt end, const MInt to)
 Copy range of nodes [begin, end) to range starting at 'to'. More...
 
void rawCopy (const T &source, const MInt from, const MInt to)
 
void deleteConnectivity (const MInt NotUsed(begin), const MInt NotUsed(end))
 
void moveConnectivity (const MInt NotUsed(begin), const MInt NotUsed(end), const MInt NotUsed(to))
 
void moveConnectivity (const MInt from, const MInt to)
 
constexpr MInt dummy () const
 

Private Types

using Base = maia::container::Container< LptCells< nDim >, Invalid >
 
using self = LptCells< nDim >
 
template<class T >
using Storage = typename Base::template Storage< T >
 

Private Member Functions

void reset ()
 Reset tree, re-create data structures with given capacity, and set size to zero. More...
 
void invalidate (const MInt begin, const MInt end)
 Erase range of nodes such that they contain no sensible values anymore. More...
 
template<class Functor , class T >
void rawCopyGeneric (Functor &&c, const T &source, const MInt begin, const MInt end, const MInt destination)
 Helper function for rawCopy(). Destination may refer to beginning or end of target range. More...
 
constexpr MBool hasMassCoupling () const
 
constexpr MBool hasMomentumCoupling () const
 
constexpr MBool hasHeatCoupling () const
 
constexpr MInt noVars () const
 
constexpr MInt noSpecies () const
 
constexpr MBool hasSlopes () const
 

Private Attributes

MBool m_massCoupling = false
 
MBool m_momentumCoupling = false
 
MBool m_heatCoupling = false
 
MInt m_noSpecies = 0
 
MBool m_storeSlopes = false
 
Storage< BitsetTypem_properties
 
Storage< MIntm_noParticles {}
 
Storage< MIntm_noEllipsoids {}
 
Storage< MFloatm_volumeFraction {}
 
Storage< MIntm_bndryCellId {}
 
Storage< MFloatm_variables {}
 
Storage< MFloatm_species {}
 
Storage< MFloatm_massFlux {}
 
Storage< MFloatm_heatFlux {}
 
Storage< MFloatm_momentumFlux {}
 
Storage< MFloatm_workFlux {}
 
Storage< MFloatm_velocitySlopes {}
 

Static Private Attributes

static constexpr MInt m_noVariables = nDim + 3
 

Friends

class maia::container::Container< LptCells< nDim >, Invalid >
 

Additional Inherited Members

- Protected Types inherited from maia::container::Container< LptCells< nDim >, Invalid >
using Storage = std::vector< T >
 
- Protected Member Functions inherited from maia::container::Container< LptCells< nDim >, Invalid >
virtual void resize ()
 
void resetStorage (const MInt n, Storage< T > &c)
 Create new container with given size and replace original one. More...
 
void resizeStorage (const MInt n, Storage< T > &c)
 Resize container with given size. More...
 
void fill_invalid (Container_ &c, const MInt begin, const MInt end, const MInt solverSize=1, const T value=Invalid< T >::value())
 
void copyData (const Container_ &source, Container_ &target, Functor &&f, const MInt begin, const MInt end, const MInt dest, const MInt solverSize=1)
 Copy [begin, end) range with given solver size from source to dest position of target. More...
 
MBool isValidId (const MInt id) const
 Return whether given id refers to a valid node (auxiliary method). More...
 

Detailed Description

template<MInt nDim>
class maia::lpt::collector::LptCells< nDim >

Definition at line 109 of file lptcellcollector.h.

Member Typedef Documentation

◆ Base

template<MInt nDim>
using maia::lpt::collector::LptCells< nDim >::Base = maia::container::Container<LptCells<nDim>, Invalid>
private

Definition at line 114 of file lptcellcollector.h.

◆ BitsetType

template<MInt nDim>
using maia::lpt::collector::LptCells< nDim >::BitsetType = maia::lpt::cell::BitsetType

Definition at line 121 of file lptcellcollector.h.

◆ Invalid

template<MInt nDim>
template<class T >
using maia::lpt::collector::LptCells< nDim >::Invalid = typename maia::lpt::collector::Invalid<T>

Definition at line 125 of file lptcellcollector.h.

◆ self

template<MInt nDim>
using maia::lpt::collector::LptCells< nDim >::self = LptCells<nDim>
private

Definition at line 116 of file lptcellcollector.h.

◆ Storage

template<MInt nDim>
template<class T >
using maia::lpt::collector::LptCells< nDim >::Storage = typename Base::template Storage<T>
private

Definition at line 118 of file lptcellcollector.h.

Constructor & Destructor Documentation

◆ LptCells()

template<MInt nDim>
constexpr maia::lpt::collector::LptCells< nDim >::LptCells ( )
constexprdefault

Member Function Documentation

◆ bndryCellId() [1/2]

template<MInt nDim>
MInt & maia::lpt::collector::LptCells< nDim >::bndryCellId ( const MInt  id)

Definition at line 320 of file lptcellcollector.h.

320 {
321 ENSURE_VALID_ID_ACCESSOR(id);
322 return m_bndryCellId[id];
323}
MInt id
Definition: maiatypes.h:71

◆ bndryCellId() [2/2]

template<MInt nDim>
MInt maia::lpt::collector::LptCells< nDim >::bndryCellId ( const MInt  id) const

Definition at line 325 of file lptcellcollector.h.

325 {
326 ENSURE_VALID_ID_ACCESSOR(id);
327 return m_bndryCellId[id];
328}

◆ fluidSpecies() [1/2]

template<MInt nDim>
MFloat & maia::lpt::collector::LptCells< nDim >::fluidSpecies ( const MInt  id)

Definition at line 344 of file lptcellcollector.h.

344 {
345 ENSURE_VALID_ID_ACCESSOR(id);
346 return m_species[id];
347}

◆ fluidSpecies() [2/2]

template<MInt nDim>
MFloat maia::lpt::collector::LptCells< nDim >::fluidSpecies ( const MInt  id) const

Definition at line 349 of file lptcellcollector.h.

349 {
350 ENSURE_VALID_ID_ACCESSOR(id);
351 return m_species[id];
352}

◆ fluidVariable() [1/2]

template<MInt nDim>
MFloat & maia::lpt::collector::LptCells< nDim >::fluidVariable ( const MInt  id,
const MInt  var 
)

Definition at line 332 of file lptcellcollector.h.

332 {
333 ENSURE_VALID_ID_ACCESSOR(id);
334 return m_variables[id * noVars() + var];
335}
constexpr MInt noVars() const

◆ fluidVariable() [2/2]

template<MInt nDim>
MFloat maia::lpt::collector::LptCells< nDim >::fluidVariable ( const MInt  id,
const MInt  var 
) const

Definition at line 337 of file lptcellcollector.h.

337 {
338 ENSURE_VALID_ID_ACCESSOR(id);
339 return m_variables[id * noVars() + var];
340}

◆ hasHeatCoupling()

template<MInt nDim>
constexpr MBool maia::lpt::collector::LptCells< nDim >::hasHeatCoupling ( ) const
inlineconstexprprivate

Definition at line 197 of file lptcellcollector.h.

◆ hasMassCoupling()

template<MInt nDim>
constexpr MBool maia::lpt::collector::LptCells< nDim >::hasMassCoupling ( ) const
inlineconstexprprivate

Definition at line 195 of file lptcellcollector.h.

◆ hasMomentumCoupling()

template<MInt nDim>
constexpr MBool maia::lpt::collector::LptCells< nDim >::hasMomentumCoupling ( ) const
inlineconstexprprivate

Definition at line 196 of file lptcellcollector.h.

◆ hasProperty() [1/2]

template<MInt nDim>
LptCells< nDim >::BitsetType::reference maia::lpt::collector::LptCells< nDim >::hasProperty ( const MInt  id,
const LptCell  p 
)

Definition at line 258 of file lptcellcollector.h.

258 {
259 ENSURE_VALID_ID_ACCESSOR(id);
260 ENSURE_VALID_PROPERTY_ACCESSOR(p);
261 return m_properties.at(id)[maia::lpt::cell::p(p)];
262}
Storage< BitsetType > m_properties
constexpr std::underlying_type< LptCell >::type p(const LptCell property)
Converts property name to underlying integer value.

◆ hasProperty() [2/2]

template<MInt nDim>
MBool maia::lpt::collector::LptCells< nDim >::hasProperty ( const MInt  id,
const LptCell  p 
) const

Definition at line 265 of file lptcellcollector.h.

265 {
266 ENSURE_VALID_ID_ACCESSOR(id);
267 ENSURE_VALID_PROPERTY_ACCESSOR(p);
268 return m_properties.at(id)[maia::lpt::cell::p(p)];
269}

◆ hasSlopes()

template<MInt nDim>
constexpr MBool maia::lpt::collector::LptCells< nDim >::hasSlopes ( ) const
inlineconstexprprivate

Definition at line 200 of file lptcellcollector.h.

◆ heatFlux() [1/2]

template<MInt nDim>
MFloat & maia::lpt::collector::LptCells< nDim >::heatFlux ( const MInt  id)

Definition at line 392 of file lptcellcollector.h.

392 {
393 ENSURE_VALID_ID_ACCESSOR(id);
394 return m_heatFlux[id];
395}

◆ heatFlux() [2/2]

template<MInt nDim>
MFloat maia::lpt::collector::LptCells< nDim >::heatFlux ( const MInt  id) const

Definition at line 397 of file lptcellcollector.h.

397 {
398 ENSURE_VALID_ID_ACCESSOR(id);
399 return m_heatFlux[id];
400}

◆ invalidate()

template<MInt nDim>
void maia::lpt::collector::LptCells< nDim >::invalidate ( const MInt  begin,
const MInt  end 
)
private

Definition at line 419 of file lptcellcollector.h.

419 {
420 fill_invalid(m_properties, begin, end, 1, false);
421 fill_invalid(m_volumeFraction, begin, end);
422 fill_invalid(m_noParticles, begin, end);
423 fill_invalid(m_noEllipsoids, begin, end);
424 fill_invalid(m_bndryCellId, begin, end);
425
426 fill_invalid(m_variables, begin, end, noVars());
427 fill_invalid(m_species, begin, end, noSpecies());
428
429 if(hasMassCoupling()) {
430 fill_invalid(m_massFlux, begin, end);
431 }
432 if(hasHeatCoupling()) fill_invalid(m_heatFlux, begin, end);
433 if(hasMomentumCoupling()) {
434 fill_invalid(m_workFlux, begin, end);
435 fill_invalid(m_momentumFlux, begin, end, nDim);
436 }
437 if(hasSlopes()) {
438 fill_invalid(m_velocitySlopes, begin, end, nDim * nDim);
439 }
440}
void fill_invalid(Container_ &c, const MInt begin, const MInt end, const MInt solverSize=1, const T value=Invalid< T >::value())
Definition: container.h:131
constexpr MBool hasHeatCoupling() const
constexpr MBool hasMassCoupling() const
constexpr MBool hasMomentumCoupling() const
constexpr MBool hasSlopes() const
constexpr MInt noSpecies() const

◆ massFlux() [1/2]

template<MInt nDim>
MFloat & maia::lpt::collector::LptCells< nDim >::massFlux ( const MInt  id)

Definition at line 356 of file lptcellcollector.h.

356 {
357 ENSURE_VALID_ID_ACCESSOR(id);
358 return m_massFlux[id];
359}

◆ massFlux() [2/2]

template<MInt nDim>
MFloat maia::lpt::collector::LptCells< nDim >::massFlux ( const MInt  id) const

Definition at line 361 of file lptcellcollector.h.

361 {
362 ENSURE_VALID_ID_ACCESSOR(id);
363 return m_massFlux[id];
364}

◆ momentumFlux() [1/2]

template<MInt nDim>
MFloat & maia::lpt::collector::LptCells< nDim >::momentumFlux ( const MInt  id,
const MInt  dim 
)

Definition at line 367 of file lptcellcollector.h.

367 {
368 ENSURE_VALID_ID_ACCESSOR(id);
369 ENSURE_VALID_DIM_ID_ACCESSOR(dim);
370 return m_momentumFlux[id * nDim + dim];
371}

◆ momentumFlux() [2/2]

template<MInt nDim>
MFloat maia::lpt::collector::LptCells< nDim >::momentumFlux ( const MInt  id,
const MInt  dim 
) const

Definition at line 373 of file lptcellcollector.h.

373 {
374 ENSURE_VALID_ID_ACCESSOR(id);
375 ENSURE_VALID_DIM_ID_ACCESSOR(dim);
376 return m_momentumFlux[id * nDim + dim];
377}

◆ noEllipsoids() [1/2]

template<MInt nDim>
MInt & maia::lpt::collector::LptCells< nDim >::noEllipsoids ( const MInt  id)

Definition at line 308 of file lptcellcollector.h.

308 {
309 ENSURE_VALID_ID_ACCESSOR(id);
310 return m_noEllipsoids[id];
311}

◆ noEllipsoids() [2/2]

template<MInt nDim>
MInt maia::lpt::collector::LptCells< nDim >::noEllipsoids ( const MInt  id) const

Definition at line 313 of file lptcellcollector.h.

313 {
314 ENSURE_VALID_ID_ACCESSOR(id);
315 return m_noEllipsoids[id];
316}

◆ noParticles() [1/2]

template<MInt nDim>
MInt & maia::lpt::collector::LptCells< nDim >::noParticles ( const MInt  id)

Definition at line 296 of file lptcellcollector.h.

296 {
297 ENSURE_VALID_ID_ACCESSOR(id);
298 return m_noParticles[id];
299}

◆ noParticles() [2/2]

template<MInt nDim>
MInt maia::lpt::collector::LptCells< nDim >::noParticles ( const MInt  id) const

Definition at line 301 of file lptcellcollector.h.

301 {
302 ENSURE_VALID_ID_ACCESSOR(id);
303 return m_noParticles[id];
304}

◆ noSpecies()

template<MInt nDim>
constexpr MInt maia::lpt::collector::LptCells< nDim >::noSpecies ( ) const
inlineconstexprprivate

Definition at line 199 of file lptcellcollector.h.

◆ noVars()

template<MInt nDim>
constexpr MInt maia::lpt::collector::LptCells< nDim >::noVars ( ) const
inlineconstexprprivate

Definition at line 198 of file lptcellcollector.h.

198{ return m_noVariables; };
static constexpr MInt m_noVariables

◆ properties()

template<MInt nDim>
BitsetType & maia::lpt::collector::LptCells< nDim >::properties ( const MInt  id)

Definition at line 278 of file lptcellcollector.h.

278 {
279 ENSURE_VALID_ID_ACCESSOR(id);
280 return m_properties[id];
281}

◆ rawCopyGeneric()

template<MInt nDim>
template<class Functor , class T >
void maia::lpt::collector::LptCells< nDim >::rawCopyGeneric ( Functor &&  c,
const T &  source,
const MInt  begin,
const MInt  end,
const MInt  destination 
)
private

Definition at line 445 of file lptcellcollector.h.

446 {
447 copyData(source.m_properties, m_properties, c, begin, end, destination);
448 copyData(source.m_volumeFraction, m_volumeFraction, c, begin, end, destination);
449 copyData(source.m_noParticles, m_noParticles, c, begin, end, destination);
450 copyData(source.m_noEllipsoids, m_noEllipsoids, c, begin, end, destination);
451 copyData(source.m_bndryCellId, m_bndryCellId, c, begin, end, destination);
452
453 copyData(source.m_variables, m_variables, c, begin, end, destination, noVars());
454 copyData(source.m_species, m_species, c, begin, end, destination, noSpecies());
455
456 if(hasMassCoupling()) {
457 copyData(source.m_massFlux, m_massFlux, c, begin, end, destination);
458 }
459 if(hasHeatCoupling()) copyData(source.m_heatFlux, m_heatFlux, c, begin, end, destination);
460 if(hasMomentumCoupling()) {
461 copyData(source.m_workFlux, m_workFlux, c, begin, end, destination);
462 copyData(source.m_momentumFlux, m_momentumFlux, c, begin, end, destination, nDim);
463 }
464 if(hasSlopes()) {
465 copyData(source.m_velocitySlopes, m_velocitySlopes, c, begin, end, destination, nDim * nDim);
466 }
467}
void copyData(const Container_ &source, Container_ &target, Functor &&f, const MInt begin, const MInt end, const MInt dest, const MInt solverSize=1)
Copy [begin, end) range with given solver size from source to dest position of target.
Definition: container.h:138

◆ reset()

template<MInt nDim>
void maia::lpt::collector::LptCells< nDim >::reset
private

Definition at line 230 of file lptcellcollector.h.

230 {
231 // resetStorage(#of items per cell, Storage<> name);
232
238
240
242
243 if(hasMassCoupling()) {
245 }
247 if(hasMomentumCoupling()) {
250 }
251 if(hasSlopes()) {
252 resetStorage(nDim * nDim, m_velocitySlopes);
253 }
254}
void resetStorage(const MInt n, Storage< T > &c)
Create new container with given size and replace original one.
Definition: container.h:420

◆ resetProperties()

template<MInt nDim>
void maia::lpt::collector::LptCells< nDim >::resetProperties ( const MInt  id)

Definition at line 272 of file lptcellcollector.h.

272 {
273 ENSURE_VALID_ID_ACCESSOR(id);
274 m_properties.at(id).reset();
275}

◆ setLptCollectorCoupling()

template<MInt nDim>
void maia::lpt::collector::LptCells< nDim >::setLptCollectorCoupling ( const MBool  mass,
const MBool  momentum,
const MBool  heat 
)

Definition at line 223 of file lptcellcollector.h.

223 {
224 m_massCoupling = mass;
225 m_momentumCoupling = momentum;
226 m_heatCoupling = heat;
227}

◆ setLptCollectorNoSpecies()

template<MInt nDim>
void maia::lpt::collector::LptCells< nDim >::setLptCollectorNoSpecies ( const MInt  noSpecies)
inline

Definition at line 175 of file lptcellcollector.h.

◆ setLptCollectorSlopes()

template<MInt nDim>
void maia::lpt::collector::LptCells< nDim >::setLptCollectorSlopes ( )
inline

Definition at line 179 of file lptcellcollector.h.

179{ m_storeSlopes = true; }

◆ velocitySlope() [1/2]

template<MInt nDim>
MFloat & maia::lpt::collector::LptCells< nDim >::velocitySlope ( const MInt  id,
const MInt  varId,
const MInt  dim 
)

Definition at line 403 of file lptcellcollector.h.

403 {
404 ENSURE_VALID_ID_ACCESSOR(id);
405 ENSURE_VALID_DIM_ID_ACCESSOR(dir);
406 return m_velocitySlopes[id * nDim * nDim + varId * nDim + dir];
407}

◆ velocitySlope() [2/2]

template<MInt nDim>
MFloat maia::lpt::collector::LptCells< nDim >::velocitySlope ( const MInt  id,
const MInt  varId,
const MInt  dim 
) const

Definition at line 410 of file lptcellcollector.h.

410 {
411 ENSURE_VALID_ID_ACCESSOR(id);
412 ENSURE_VALID_DIM_ID_ACCESSOR(dir);
413 return m_velocitySlopes[id * nDim * nDim + varId * nDim + dir];
414}

◆ volumeFraction() [1/2]

template<MInt nDim>
MFloat & maia::lpt::collector::LptCells< nDim >::volumeFraction ( const MInt  id)

Definition at line 285 of file lptcellcollector.h.

285 {
286 ENSURE_VALID_ID_ACCESSOR(id);
287 return m_volumeFraction[id];
288}

◆ volumeFraction() [2/2]

template<MInt nDim>
MFloat maia::lpt::collector::LptCells< nDim >::volumeFraction ( const MInt  id) const

Definition at line 290 of file lptcellcollector.h.

290 {
291 ENSURE_VALID_ID_ACCESSOR(id);
292 return m_volumeFraction[id];
293}

◆ workFlux() [1/2]

template<MInt nDim>
MFloat & maia::lpt::collector::LptCells< nDim >::workFlux ( const MInt  id)

Definition at line 380 of file lptcellcollector.h.

380 {
381 ENSURE_VALID_ID_ACCESSOR(id);
382 return m_workFlux[id];
383}

◆ workFlux() [2/2]

template<MInt nDim>
MFloat maia::lpt::collector::LptCells< nDim >::workFlux ( const MInt  id) const

Definition at line 385 of file lptcellcollector.h.

385 {
386 ENSURE_VALID_ID_ACCESSOR(id);
387 return m_workFlux[id];
388}

Friends And Related Function Documentation

◆ maia::container::Container< LptCells< nDim >, Invalid >

template<MInt nDim>
friend class maia::container::Container< LptCells< nDim >, Invalid >
friend

Definition at line 103 of file lptcellcollector.h.

Member Data Documentation

◆ m_bndryCellId

template<MInt nDim>
Storage<MInt> maia::lpt::collector::LptCells< nDim >::m_bndryCellId {}
private

Definition at line 207 of file lptcellcollector.h.

◆ m_heatCoupling

template<MInt nDim>
MBool maia::lpt::collector::LptCells< nDim >::m_heatCoupling = false
private

Definition at line 190 of file lptcellcollector.h.

◆ m_heatFlux

template<MInt nDim>
Storage<MFloat> maia::lpt::collector::LptCells< nDim >::m_heatFlux {}
private

Definition at line 214 of file lptcellcollector.h.

◆ m_massCoupling

template<MInt nDim>
MBool maia::lpt::collector::LptCells< nDim >::m_massCoupling = false
private

Definition at line 188 of file lptcellcollector.h.

◆ m_massFlux

template<MInt nDim>
Storage<MFloat> maia::lpt::collector::LptCells< nDim >::m_massFlux {}
private

Definition at line 213 of file lptcellcollector.h.

◆ m_momentumCoupling

template<MInt nDim>
MBool maia::lpt::collector::LptCells< nDim >::m_momentumCoupling = false
private

Definition at line 189 of file lptcellcollector.h.

◆ m_momentumFlux

template<MInt nDim>
Storage<MFloat> maia::lpt::collector::LptCells< nDim >::m_momentumFlux {}
private

Definition at line 215 of file lptcellcollector.h.

◆ m_noEllipsoids

template<MInt nDim>
Storage<MInt> maia::lpt::collector::LptCells< nDim >::m_noEllipsoids {}
private

Definition at line 205 of file lptcellcollector.h.

◆ m_noParticles

template<MInt nDim>
Storage<MInt> maia::lpt::collector::LptCells< nDim >::m_noParticles {}
private

Definition at line 204 of file lptcellcollector.h.

◆ m_noSpecies

template<MInt nDim>
MInt maia::lpt::collector::LptCells< nDim >::m_noSpecies = 0
private

Definition at line 192 of file lptcellcollector.h.

◆ m_noVariables

template<MInt nDim>
constexpr MInt maia::lpt::collector::LptCells< nDim >::m_noVariables = nDim + 3
staticconstexprprivate

Definition at line 191 of file lptcellcollector.h.

◆ m_properties

template<MInt nDim>
Storage<BitsetType> maia::lpt::collector::LptCells< nDim >::m_properties
private

Definition at line 202 of file lptcellcollector.h.

◆ m_species

template<MInt nDim>
Storage<MFloat> maia::lpt::collector::LptCells< nDim >::m_species {}
private

Definition at line 211 of file lptcellcollector.h.

◆ m_storeSlopes

template<MInt nDim>
MBool maia::lpt::collector::LptCells< nDim >::m_storeSlopes = false
private

Definition at line 193 of file lptcellcollector.h.

◆ m_variables

template<MInt nDim>
Storage<MFloat> maia::lpt::collector::LptCells< nDim >::m_variables {}
private

Definition at line 209 of file lptcellcollector.h.

◆ m_velocitySlopes

template<MInt nDim>
Storage<MFloat> maia::lpt::collector::LptCells< nDim >::m_velocitySlopes {}
private

Definition at line 218 of file lptcellcollector.h.

◆ m_volumeFraction

template<MInt nDim>
Storage<MFloat> maia::lpt::collector::LptCells< nDim >::m_volumeFraction {}
private

Definition at line 206 of file lptcellcollector.h.

◆ m_workFlux

template<MInt nDim>
Storage<MFloat> maia::lpt::collector::LptCells< nDim >::m_workFlux {}
private

Definition at line 216 of file lptcellcollector.h.


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