MAIA bb96820c
Multiphysics at AIA
|
Class that represents LS cell collector. More...
#include <lscartesiancellcollector.h>
Public Types | |
using | BitsetType = maia::ls::cell::BitsetType |
using | BitsetTypeSet = maia::ls::cell::BitsetTypeSet |
template<class T > | |
using | Invalid = typename maia::ls::collector::Invalid< T > |
Public Member Functions | |
constexpr | GCells ()=default |
Default c'tor does nothing. More... | |
void | resetExtensionVelocity () |
void | fillContainingCell () |
void | fillContainingDomain () |
constexpr MBool | hasBodyId () const |
constexpr MBool | hasOldG () const |
constexpr MBool | hasRotatingLs () const |
constexpr MBool | hasReconstructOldG () const |
constexpr MBool | hasFSRhs () const |
constexpr MBool | hasReinit () const |
constexpr MBool | hasCorrectedBurningVelocity () const |
constexpr MBool | hasFExt () const |
constexpr MBool | hasCurvature () const |
constexpr MBool | hasNormalVector () const |
constexpr MBool | hasGapClosing () const |
MFloat & | gFunction (const MInt id, const MInt set) |
Accessors. More... | |
MFloat | gFunction (const MInt id, const MInt set) const |
MFloat & | oldGFunction (const MInt id, const MInt set) |
MFloat | oldGFunction (const MInt id, const MInt set) const |
MFloat & | levelSetFunctionSlope (const MInt id, const MInt dim, const MInt set) |
MFloat | levelSetFunctionSlope (const MInt id, const MInt dim, const MInt set) const |
MFloat & | levelSetRHS (const MInt id, const MInt set) |
MFloat | levelSetRHS (const MInt id, const MInt set) const |
MFloat & | correctedBurningVelocity (const MInt id, const MInt set) |
MFloat | correctedBurningVelocity (const MInt id, const MInt set) const |
MLong & | containingCell (const MInt id, const MInt body) |
MLong | containingCell (const MInt id, const MInt body) const |
MInt & | containingDomain (const MInt id, const MInt body) |
MInt | containingDomain (const MInt id, const MInt body) const |
MFloat & | curvature (const MInt id, const MInt set) |
MFloat | curvature (const MInt id, const MInt set) const |
MFloat & | fExt (const MInt id, const MInt dim, const MInt set) |
MFloat | fExt (const MInt id, const MInt dim, const MInt set) const |
MFloat & | normalVector (const MInt id, const MInt dim, const MInt set) |
MFloat | normalVector (const MInt id, const MInt dim, const MInt set) const |
MInt & | bodyId (const MInt id, const MInt set) |
MInt | bodyId (const MInt id, const MInt set) const |
MInt & | secondBodyId (const MInt id) |
MInt | secondBodyId (const MInt id) const |
MFloat & | gapWidth (const MInt id) |
MFloat | gapWidth (const MInt id) const |
MInt & | potentialGapCell (const MInt id) |
MInt | potentialGapCell (const MInt id) const |
MInt & | potentialGapCellClose (const MInt id) |
MInt | potentialGapCellClose (const MInt id) const |
MBool | regridTrigger (const MInt id) const |
properties: More... | |
BitsetType::reference | regridTrigger (const MInt id) |
MBool | nearGap (const MInt id) const |
BitsetType::reference | nearGap (const MInt id) |
MBool | isBndryG (const MInt id) const |
BitsetType::reference | isBndryG (const MInt id) |
MBool | inBand (const MInt id, const MInt set) const |
BitsetTypeSet::reference | inBand (const MInt id, const MInt set) |
MBool | isGBndryCell (const MInt id, const MInt set) const |
BitsetTypeSet::reference | isGBndryCell (const MInt id, const MInt set) |
MBool | isGZero (const MInt id, const MInt set) const |
BitsetTypeSet::reference | isGZero (const MInt id, const MInt set) |
MBool | wasGZero (const MInt id, const MInt set) const |
BitsetTypeSet::reference | wasGZero (const MInt id, const MInt set) |
MBool | hasPositiveSign (const MInt id, const MInt set) const |
BitsetTypeSet::reference | hasPositiveSign (const MInt id, const MInt set) |
BitsetType::reference | hasProperty (const MInt id, const LsCell p) |
Accessor for properties. More... | |
MBool | hasProperty (const MInt id, const LsCell p) const |
Accessor for properties (const version). More... | |
void | resetProperties (const MInt id) |
Reset all properties. More... | |
BitsetTypeSet::reference | hasSetProperty (const MInt id, const MInt set, const LsSet p) |
Accessor for set properties. More... | |
MBool | hasSetProperty (const MInt id, const MInt set, const LsSet p) const |
Accessor for set properties (const version). More... | |
void | resetSetProperties (const MInt id, const MInt set) |
Reset all set properties. More... | |
MInt | maxNoSets () const |
Return number of level set functions. More... | |
MInt | maxBodies () const |
void | setMaxNoSets (const MInt value) |
void | setMaxBodiesToCompute (const MInt noBodies) |
void | setRotatingLs (const MBool rotatingLS) |
void | setGapClosing (const MBool gapClosing) |
void | setReconstructOldG (const MBool ReconstructOldG) |
void | setReinit (const MBool Reinit) |
void | setLsCollectorType (const MInt mode) |
Set the ls-collector type. More... | |
Public Member Functions inherited from maia::container::Container< GCells< 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... | |
GCells< nDim > & | derived () |
const GCells< 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 |
Static Public Member Functions | |
static constexpr MInt | noProperties () |
Return number of properties defined for each node. More... | |
static constexpr MInt | noSetProperties () |
Private Types | |
using | Base = maia::container::Container< GCells< nDim >, Invalid > |
using | self = GCells< 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... | |
Friends | |
class | maia::container::Container< GCells< nDim >, Invalid > |
Additional Inherited Members | |
Protected Types inherited from maia::container::Container< GCells< nDim >, Invalid > | |
using | Storage = std::vector< T > |
Protected Member Functions inherited from maia::container::Container< GCells< 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... | |
Definition at line 129 of file lscartesiancellcollector.h.
|
private |
Definition at line 134 of file lscartesiancellcollector.h.
using maia::ls::collector::GCells< nDim >::BitsetType = maia::ls::cell::BitsetType |
Definition at line 142 of file lscartesiancellcollector.h.
using maia::ls::collector::GCells< nDim >::BitsetTypeSet = maia::ls::cell::BitsetTypeSet |
Definition at line 143 of file lscartesiancellcollector.h.
using maia::ls::collector::GCells< nDim >::Invalid = typename maia::ls::collector::Invalid<T> |
Definition at line 148 of file lscartesiancellcollector.h.
|
private |
Definition at line 136 of file lscartesiancellcollector.h.
|
private |
Definition at line 138 of file lscartesiancellcollector.h.
|
constexprdefault |
|
inline |
Definition at line 266 of file lscartesiancellcollector.h.
|
inline |
Definition at line 271 of file lscartesiancellcollector.h.
|
inline |
Definition at line 221 of file lscartesiancellcollector.h.
|
inline |
Definition at line 226 of file lscartesiancellcollector.h.
|
inline |
Definition at line 231 of file lscartesiancellcollector.h.
|
inline |
Definition at line 236 of file lscartesiancellcollector.h.
|
inline |
Definition at line 211 of file lscartesiancellcollector.h.
|
inline |
Definition at line 216 of file lscartesiancellcollector.h.
|
inline |
Definition at line 241 of file lscartesiancellcollector.h.
|
inline |
Definition at line 246 of file lscartesiancellcollector.h.
|
inline |
Definition at line 248 of file lscartesiancellcollector.h.
|
inline |
Definition at line 253 of file lscartesiancellcollector.h.
void maia::ls::collector::GCells< nDim >::fillContainingCell |
Definition at line 538 of file lscartesiancellcollector.h.
void maia::ls::collector::GCells< nDim >::fillContainingDomain |
Definition at line 544 of file lscartesiancellcollector.h.
|
inline |
Definition at line 288 of file lscartesiancellcollector.h.
|
inline |
Definition at line 292 of file lscartesiancellcollector.h.
|
inline |
Definition at line 179 of file lscartesiancellcollector.h.
|
inline |
Definition at line 184 of file lscartesiancellcollector.h.
|
inlineconstexpr |
Definition at line 164 of file lscartesiancellcollector.h.
|
inlineconstexpr |
Definition at line 170 of file lscartesiancellcollector.h.
|
inlineconstexpr |
Definition at line 173 of file lscartesiancellcollector.h.
|
inlineconstexpr |
Definition at line 172 of file lscartesiancellcollector.h.
|
inlineconstexpr |
Definition at line 168 of file lscartesiancellcollector.h.
|
inlineconstexpr |
Definition at line 175 of file lscartesiancellcollector.h.
|
inlineconstexpr |
Definition at line 174 of file lscartesiancellcollector.h.
|
inlineconstexpr |
Definition at line 165 of file lscartesiancellcollector.h.
|
inline |
Definition at line 335 of file lscartesiancellcollector.h.
|
inline |
Definition at line 334 of file lscartesiancellcollector.h.
GCells< nDim >::BitsetType::reference maia::ls::collector::GCells< nDim >::hasProperty | ( | const MInt | id, |
const LsCell | p | ||
) |
Definition at line 552 of file lscartesiancellcollector.h.
MBool maia::ls::collector::GCells< nDim >::hasProperty | ( | const MInt | id, |
const LsCell | p | ||
) | const |
Definition at line 559 of file lscartesiancellcollector.h.
|
inlineconstexpr |
Definition at line 167 of file lscartesiancellcollector.h.
|
inlineconstexpr |
Definition at line 169 of file lscartesiancellcollector.h.
|
inlineconstexpr |
Definition at line 166 of file lscartesiancellcollector.h.
GCells< nDim >::BitsetTypeSet::reference maia::ls::collector::GCells< nDim >::hasSetProperty | ( | const MInt | id, |
const MInt | set, | ||
const LsSet | p | ||
) |
Definition at line 573 of file lscartesiancellcollector.h.
MBool maia::ls::collector::GCells< nDim >::hasSetProperty | ( | const MInt | id, |
const MInt | set, | ||
const LsSet | p | ||
) | const |
Definition at line 580 of file lscartesiancellcollector.h.
|
inline |
Definition at line 325 of file lscartesiancellcollector.h.
|
inline |
Definition at line 324 of file lscartesiancellcollector.h.
|
private |
Definition at line 594 of file lscartesiancellcollector.h.
|
inline |
Definition at line 322 of file lscartesiancellcollector.h.
|
inline |
Definition at line 321 of file lscartesiancellcollector.h.
|
inline |
Definition at line 327 of file lscartesiancellcollector.h.
|
inline |
Definition at line 326 of file lscartesiancellcollector.h.
|
inline |
Definition at line 331 of file lscartesiancellcollector.h.
|
inline |
Definition at line 330 of file lscartesiancellcollector.h.
|
inline |
Definition at line 194 of file lscartesiancellcollector.h.
|
inline |
Definition at line 199 of file lscartesiancellcollector.h.
|
inline |
Definition at line 203 of file lscartesiancellcollector.h.
|
inline |
Definition at line 208 of file lscartesiancellcollector.h.
|
inline |
Definition at line 353 of file lscartesiancellcollector.h.
|
inline |
Definition at line 352 of file lscartesiancellcollector.h.
|
inline |
Definition at line 320 of file lscartesiancellcollector.h.
|
inline |
Definition at line 319 of file lscartesiancellcollector.h.
|
inlinestaticconstexpr |
Definition at line 374 of file lscartesiancellcollector.h.
|
inline |
Definition at line 257 of file lscartesiancellcollector.h.
|
inline |
Definition at line 262 of file lscartesiancellcollector.h.
|
inlinestaticconstexpr |
Definition at line 375 of file lscartesiancellcollector.h.
|
inline |
Definition at line 186 of file lscartesiancellcollector.h.
|
inline |
Definition at line 191 of file lscartesiancellcollector.h.
|
inline |
Definition at line 298 of file lscartesiancellcollector.h.
|
inline |
Definition at line 302 of file lscartesiancellcollector.h.
|
inline |
Definition at line 307 of file lscartesiancellcollector.h.
|
inline |
Definition at line 311 of file lscartesiancellcollector.h.
|
private |
Definition at line 631 of file lscartesiancellcollector.h.
|
inline |
Definition at line 318 of file lscartesiancellcollector.h.
|
inline |
Definition at line 317 of file lscartesiancellcollector.h.
|
private |
Definition at line 496 of file lscartesiancellcollector.h.
void maia::ls::collector::GCells< nDim >::resetExtensionVelocity |
Definition at line 532 of file lscartesiancellcollector.h.
void maia::ls::collector::GCells< nDim >::resetProperties | ( | const MInt | id | ) |
Definition at line 566 of file lscartesiancellcollector.h.
void maia::ls::collector::GCells< nDim >::resetSetProperties | ( | const MInt | id, |
const MInt | set | ||
) |
Definition at line 587 of file lscartesiancellcollector.h.
|
inline |
Definition at line 278 of file lscartesiancellcollector.h.
|
inline |
Definition at line 282 of file lscartesiancellcollector.h.
|
inline |
Definition at line 367 of file lscartesiancellcollector.h.
void maia::ls::collector::GCells< nDim >::setLsCollectorType | ( | const MInt | mode | ) |
Definition at line 440 of file lscartesiancellcollector.h.
|
inline |
Definition at line 360 of file lscartesiancellcollector.h.
|
inline |
Definition at line 355 of file lscartesiancellcollector.h.
|
inline |
Definition at line 369 of file lscartesiancellcollector.h.
|
inline |
Definition at line 371 of file lscartesiancellcollector.h.
|
inline |
Definition at line 365 of file lscartesiancellcollector.h.
|
inline |
Definition at line 333 of file lscartesiancellcollector.h.
|
inline |
Definition at line 332 of file lscartesiancellcollector.h.
|
friend |
Definition at line 112 of file lscartesiancellcollector.h.
|
private |
Definition at line 421 of file lscartesiancellcollector.h.
|
private |
Definition at line 413 of file lscartesiancellcollector.h.
|
private |
Definition at line 415 of file lscartesiancellcollector.h.
|
private |
Definition at line 428 of file lscartesiancellcollector.h.
|
private |
Definition at line 417 of file lscartesiancellcollector.h.
|
private |
Definition at line 418 of file lscartesiancellcollector.h.
|
private |
Definition at line 433 of file lscartesiancellcollector.h.
|
private |
Definition at line 411 of file lscartesiancellcollector.h.
|
private |
Definition at line 393 of file lscartesiancellcollector.h.
|
private |
Definition at line 402 of file lscartesiancellcollector.h.
|
private |
Definition at line 406 of file lscartesiancellcollector.h.
|
private |
Definition at line 404 of file lscartesiancellcollector.h.
|
private |
Definition at line 399 of file lscartesiancellcollector.h.
|
private |
Definition at line 408 of file lscartesiancellcollector.h.
|
private |
Definition at line 405 of file lscartesiancellcollector.h.
|
private |
Definition at line 394 of file lscartesiancellcollector.h.
|
private |
Definition at line 397 of file lscartesiancellcollector.h.
|
private |
Definition at line 400 of file lscartesiancellcollector.h.
|
private |
Definition at line 396 of file lscartesiancellcollector.h.
|
private |
Definition at line 425 of file lscartesiancellcollector.h.
|
private |
Definition at line 426 of file lscartesiancellcollector.h.
|
private |
Definition at line 390 of file lscartesiancellcollector.h.
|
private |
Definition at line 389 of file lscartesiancellcollector.h.
|
private |
Definition at line 419 of file lscartesiancellcollector.h.
|
private |
Definition at line 423 of file lscartesiancellcollector.h.
|
private |
Definition at line 434 of file lscartesiancellcollector.h.
|
private |
Definition at line 435 of file lscartesiancellcollector.h.
|
private |
Definition at line 430 of file lscartesiancellcollector.h.
|
private |
Definition at line 422 of file lscartesiancellcollector.h.
|
private |
Definition at line 431 of file lscartesiancellcollector.h.