MAIA bb96820c
Multiphysics at AIA
|
Class that represents FC cell collector. More...
#include <fccellcollector.h>
Public Types | |
template<class T > | |
using | Invalid = typename maia::fc::collector::Invalid< T > |
Public Member Functions | |
constexpr | FcCellCollector ()=default |
Default c'tor does nothing. More... | |
MFloat & | alpha (const MInt id) |
Accessor for alpha. More... | |
MFloat | alpha (const MInt id) const |
Accessor for alpha (const version). More... | |
MFloat & | poissonRatio (const MInt id) |
Accessor for poissonRatio. More... | |
MFloat | poissonRatio (const MInt id) const |
Accessor for poissonRatio (const version). More... | |
MFloat & | invJacobian (const MInt id) |
Accessor for inverse jacobian. More... | |
MFloat | invJacobian (const MInt id) const |
Accessor for inverse jacobian (const version). More... | |
MInt & | pRfnmnt (const MInt id) |
Accessor for pRfnmnt. More... | |
MInt | pRfnmnt (const MInt id) const |
Accessor for pRfnmnt (const version). More... | |
MInt & | maxSubCellLvl (const MInt id) |
Accessor for maxSubCellLvl. More... | |
MInt | maxSubCellLvl (const MInt id) const |
Accessor for maxSubCellLvl (const version). More... | |
MInt & | noNodesPerCell (const MInt id) |
Accessor for number of elements. More... | |
MInt | noNodesPerCell (const MInt id) const |
Accessor for number of elements (const version). More... | |
MInt & | bndId (const MInt id) |
Accessor for bndId. More... | |
MInt | bndId (const MInt id) const |
Accessor for bndId (const version). More... | |
MInt & | nodeIdsLoc (const MInt id, const MInt eid) |
Accessor for local nodeIds. More... | |
MInt | nodeIdsLoc (const MInt id, const MInt eid) const |
Accessor for local nodeIds (const version). More... | |
MInt & | nodeIdsGlob (const MInt id, const MInt eid) |
Accessor for global nodeIds. More... | |
MInt | nodeIdsGlob (const MInt id, const MInt eid) const |
Accessor for global nodeIds (const version). More... | |
MFloat & | elementDisplacements (const MInt id, const MInt eid) |
Accessor for element displacements. More... | |
MFloat | elementDisplacements (const MInt id, const MInt eid) const |
Accessor for element displacements (const version). More... | |
MFloat & | elementStrains (const MInt id, const MInt eid) |
Accessor for element strains, i.e., cell based strains. More... | |
MFloat | elementStrains (const MInt id, const MInt eid) const |
Accessor for element strains, i.e., cell based strains (const version) More... | |
MFloat & | nodalStrains (const MInt id, const MInt nid, const MInt eid) |
Accessor for nodal strains, i.e., node based strains. More... | |
MFloat | nodalStrains (const MInt id, const MInt nid, const MInt eid) const |
Accessor for nodal strains, i.e., node based strains (const version) More... | |
MFloat & | elementStresses (const MInt id, const MInt eid) |
Accessor for element stresses, i.e., cell based stresses. More... | |
MFloat | elementStresses (const MInt id, const MInt eid) const |
Accessor for element stresses, i.e., cell based stresses (const version) More... | |
MFloat & | nodalStresses (const MInt id, const MInt nid, const MInt eid) |
Accessor for nodal stresses, i.e., node based stresses. More... | |
MFloat | nodalStresses (const MInt id, const MInt nid, const MInt eid) const |
Accessor for nodal stresses, i.e., node based stresses (const version) More... | |
MFloat & | nodePosition (const MInt id, const MInt eid) |
Accessor for the node position. More... | |
MFloat | nodePosition (const MInt id, const MInt eid) const |
Accessor for the node position (const version) More... | |
MFloat & | deltaGamma (const MInt id, const MInt eid) |
Accessor for delta gamma, a factor in plasticity models. More... | |
MFloat | deltaGamma (const MInt id, const MInt eid) const |
Accessor for delta gamma, a factor in plasticity models (const version) More... | |
MFloat & | epsilonBarP (const MInt id, const MInt eid) |
Accessor for epsilon bar, a factor in plasticity models. More... | |
MFloat | epsilonBarP (const MInt id, const MInt eid) const |
Accessor for epsilon bar, a factor in plasticity models (const version) More... | |
BitsetType::reference | hasProperty (const MInt id, const FcCell p) |
Accessor for properties. More... | |
MBool | hasProperty (const MInt id, const FcCell p) const |
Accessor for properties (const version). More... | |
void | resetProperties (const MInt id) |
Reset all properties. More... | |
BitsetType & | allProperties (const MInt id) |
Accessor for properties. More... | |
void | setThermal (const MBool isThermal_) |
Allow setting whether to support thermal computations. More... | |
void | setPlasticity (const MBool isPlastic_) |
Allow setting whether to support plastic computations. More... | |
void | setMaxPRfnmnt (const MInt maxPRfnmnt_) |
Sets the number of strains. More... | |
constexpr MBool | isThermal () const |
Return if simulation is thermal. More... | |
constexpr MBool | isPlastic () const |
Return if simulation is plastic. More... | |
constexpr MBool | isPRefined () const |
Return if simulation is p-refined. More... | |
constexpr MInt | noVariables () const |
Return number of variables. More... | |
constexpr MInt | noStrains () const |
Return number of strains. More... | |
constexpr MInt | noStresses () const |
Return number of stresses. More... | |
constexpr MInt | noNodes () const |
constexpr MInt | maxPRfnmnt () const |
Return max pRfnmnt. More... | |
Public Member Functions inherited from maia::container::Container< FcCellCollector< 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... | |
FcCellCollector< nDim > & | derived () |
const FcCellCollector< 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... | |
Private Types | |
using | Base = maia::container::Container< FcCellCollector< nDim >, Invalid > |
template<class T > | |
using | Storage = typename Base::template Storage< T > |
using | BitsetType = maia::fc::cell::BitsetType |
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< FcCellCollector< nDim >, Invalid > |
Additional Inherited Members | |
Protected Types inherited from maia::container::Container< FcCellCollector< nDim >, Invalid > | |
using | Storage = std::vector< T > |
Protected Member Functions inherited from maia::container::Container< FcCellCollector< 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 113 of file fccellcollector.h.
|
private |
Definition at line 118 of file fccellcollector.h.
|
private |
Definition at line 122 of file fccellcollector.h.
using maia::fc::collector::FcCellCollector< nDim >::Invalid = typename maia::fc::collector::Invalid<T> |
Definition at line 128 of file fccellcollector.h.
|
private |
Definition at line 121 of file fccellcollector.h.
|
constexprdefault |
BitsetType & maia::fc::collector::FcCellCollector< nDim >::allProperties | ( | const MInt | id | ) |
Definition at line 692 of file fccellcollector.h.
MFloat & maia::fc::collector::FcCellCollector< nDim >::alpha | ( | const MInt | id | ) |
Definition at line 294 of file fccellcollector.h.
MFloat maia::fc::collector::FcCellCollector< nDim >::alpha | ( | const MInt | id | ) | const |
Definition at line 304 of file fccellcollector.h.
MInt & maia::fc::collector::FcCellCollector< nDim >::bndId | ( | const MInt | id | ) |
Definition at line 420 of file fccellcollector.h.
MInt maia::fc::collector::FcCellCollector< nDim >::bndId | ( | const MInt | id | ) | const |
Definition at line 430 of file fccellcollector.h.
MFloat & maia::fc::collector::FcCellCollector< nDim >::deltaGamma | ( | const MInt | id, |
const MInt | eid | ||
) |
Definition at line 625 of file fccellcollector.h.
MFloat maia::fc::collector::FcCellCollector< nDim >::deltaGamma | ( | const MInt | id, |
const MInt | eid | ||
) | const |
Definition at line 636 of file fccellcollector.h.
MFloat & maia::fc::collector::FcCellCollector< nDim >::elementDisplacements | ( | const MInt | id, |
const MInt | eid | ||
) |
Definition at line 487 of file fccellcollector.h.
MFloat maia::fc::collector::FcCellCollector< nDim >::elementDisplacements | ( | const MInt | id, |
const MInt | eid | ||
) | const |
Definition at line 498 of file fccellcollector.h.
MFloat & maia::fc::collector::FcCellCollector< nDim >::elementStrains | ( | const MInt | id, |
const MInt | eid | ||
) |
Definition at line 510 of file fccellcollector.h.
MFloat maia::fc::collector::FcCellCollector< nDim >::elementStrains | ( | const MInt | id, |
const MInt | eid | ||
) | const |
Definition at line 521 of file fccellcollector.h.
MFloat & maia::fc::collector::FcCellCollector< nDim >::elementStresses | ( | const MInt | id, |
const MInt | eid | ||
) |
Definition at line 556 of file fccellcollector.h.
MFloat maia::fc::collector::FcCellCollector< nDim >::elementStresses | ( | const MInt | id, |
const MInt | eid | ||
) | const |
Definition at line 567 of file fccellcollector.h.
MFloat & maia::fc::collector::FcCellCollector< nDim >::epsilonBarP | ( | const MInt | id, |
const MInt | eid | ||
) |
Definition at line 648 of file fccellcollector.h.
MFloat maia::fc::collector::FcCellCollector< nDim >::epsilonBarP | ( | const MInt | id, |
const MInt | eid | ||
) | const |
Definition at line 659 of file fccellcollector.h.
FcCellCollector< nDim >::BitsetType::reference maia::fc::collector::FcCellCollector< nDim >::hasProperty | ( | const MInt | id, |
const FcCell | p | ||
) |
Definition at line 671 of file fccellcollector.h.
MBool maia::fc::collector::FcCellCollector< nDim >::hasProperty | ( | const MInt | id, |
const FcCell | p | ||
) | const |
Definition at line 678 of file fccellcollector.h.
|
private |
Definition at line 722 of file fccellcollector.h.
MFloat & maia::fc::collector::FcCellCollector< nDim >::invJacobian | ( | const MInt | id | ) |
Definition at line 336 of file fccellcollector.h.
MFloat maia::fc::collector::FcCellCollector< nDim >::invJacobian | ( | const MInt | id | ) | const |
Definition at line 346 of file fccellcollector.h.
|
inlineconstexpr |
Definition at line 195 of file fccellcollector.h.
|
inlineconstexpr |
Definition at line 198 of file fccellcollector.h.
|
inlineconstexpr |
Definition at line 192 of file fccellcollector.h.
|
inlineconstexpr |
Definition at line 212 of file fccellcollector.h.
MInt & maia::fc::collector::FcCellCollector< nDim >::maxSubCellLvl | ( | const MInt | id | ) |
Definition at line 378 of file fccellcollector.h.
MInt maia::fc::collector::FcCellCollector< nDim >::maxSubCellLvl | ( | const MInt | id | ) | const |
Definition at line 388 of file fccellcollector.h.
MFloat & maia::fc::collector::FcCellCollector< nDim >::nodalStrains | ( | const MInt | id, |
const MInt | nid, | ||
const MInt | eid | ||
) |
Definition at line 533 of file fccellcollector.h.
MFloat maia::fc::collector::FcCellCollector< nDim >::nodalStrains | ( | const MInt | id, |
const MInt | nid, | ||
const MInt | eid | ||
) | const |
Definition at line 544 of file fccellcollector.h.
MFloat & maia::fc::collector::FcCellCollector< nDim >::nodalStresses | ( | const MInt | id, |
const MInt | nid, | ||
const MInt | eid | ||
) |
Definition at line 579 of file fccellcollector.h.
MFloat maia::fc::collector::FcCellCollector< nDim >::nodalStresses | ( | const MInt | id, |
const MInt | nid, | ||
const MInt | eid | ||
) | const |
Definition at line 590 of file fccellcollector.h.
MInt & maia::fc::collector::FcCellCollector< nDim >::nodeIdsGlob | ( | const MInt | id, |
const MInt | eid | ||
) |
Definition at line 464 of file fccellcollector.h.
MInt maia::fc::collector::FcCellCollector< nDim >::nodeIdsGlob | ( | const MInt | id, |
const MInt | eid | ||
) | const |
Definition at line 475 of file fccellcollector.h.
MInt & maia::fc::collector::FcCellCollector< nDim >::nodeIdsLoc | ( | const MInt | id, |
const MInt | eid | ||
) |
Definition at line 441 of file fccellcollector.h.
MInt maia::fc::collector::FcCellCollector< nDim >::nodeIdsLoc | ( | const MInt | id, |
const MInt | eid | ||
) | const |
Definition at line 452 of file fccellcollector.h.
MFloat & maia::fc::collector::FcCellCollector< nDim >::nodePosition | ( | const MInt | id, |
const MInt | eid | ||
) |
Definition at line 602 of file fccellcollector.h.
MFloat maia::fc::collector::FcCellCollector< nDim >::nodePosition | ( | const MInt | id, |
const MInt | eid | ||
) | const |
Definition at line 613 of file fccellcollector.h.
|
inlineconstexpr |
Definition at line 209 of file fccellcollector.h.
MInt & maia::fc::collector::FcCellCollector< nDim >::noNodesPerCell | ( | const MInt | id | ) |
Definition at line 399 of file fccellcollector.h.
MInt maia::fc::collector::FcCellCollector< nDim >::noNodesPerCell | ( | const MInt | id | ) | const |
Definition at line 409 of file fccellcollector.h.
|
inlinestaticconstexpr |
Definition at line 215 of file fccellcollector.h.
|
inlineconstexpr |
Definition at line 204 of file fccellcollector.h.
|
inlineconstexpr |
Definition at line 207 of file fccellcollector.h.
|
inlineconstexpr |
Definition at line 201 of file fccellcollector.h.
MFloat & maia::fc::collector::FcCellCollector< nDim >::poissonRatio | ( | const MInt | id | ) |
Definition at line 315 of file fccellcollector.h.
MFloat maia::fc::collector::FcCellCollector< nDim >::poissonRatio | ( | const MInt | id | ) | const |
Definition at line 325 of file fccellcollector.h.
MInt & maia::fc::collector::FcCellCollector< nDim >::pRfnmnt | ( | const MInt | id | ) |
Definition at line 357 of file fccellcollector.h.
MInt maia::fc::collector::FcCellCollector< nDim >::pRfnmnt | ( | const MInt | id | ) | const |
Definition at line 367 of file fccellcollector.h.
|
private |
Definition at line 757 of file fccellcollector.h.
|
private |
Definition at line 267 of file fccellcollector.h.
void maia::fc::collector::FcCellCollector< nDim >::resetProperties | ( | const MInt | id | ) |
Definition at line 685 of file fccellcollector.h.
void maia::fc::collector::FcCellCollector< nDim >::setMaxPRfnmnt | ( | const MInt | maxPRfnmnt_ | ) |
Set use of p-refinement and update number of variables.
Definition at line 712 of file fccellcollector.h.
void maia::fc::collector::FcCellCollector< nDim >::setPlasticity | ( | const MBool | isPlastic_ | ) |
Set use of plastic model and update number of variables.
Definition at line 706 of file fccellcollector.h.
void maia::fc::collector::FcCellCollector< nDim >::setThermal | ( | const MBool | isThermal_ | ) |
Set use of thermal model and update number of variables.
Definition at line 699 of file fccellcollector.h.
|
friend |
Definition at line 108 of file fccellcollector.h.
|
private |
Definition at line 245 of file fccellcollector.h.
|
private |
Definition at line 251 of file fccellcollector.h.
|
private |
Definition at line 260 of file fccellcollector.h.
|
private |
Definition at line 254 of file fccellcollector.h.
|
private |
Definition at line 255 of file fccellcollector.h.
|
private |
Definition at line 257 of file fccellcollector.h.
|
private |
Definition at line 261 of file fccellcollector.h.
|
private |
Definition at line 247 of file fccellcollector.h.
|
private |
Definition at line 239 of file fccellcollector.h.
|
private |
Definition at line 242 of file fccellcollector.h.
|
private |
Definition at line 236 of file fccellcollector.h.
|
private |
Definition at line 231 of file fccellcollector.h.
|
private |
Definition at line 249 of file fccellcollector.h.
|
private |
Definition at line 256 of file fccellcollector.h.
|
private |
Definition at line 258 of file fccellcollector.h.
|
private |
Definition at line 253 of file fccellcollector.h.
|
private |
Definition at line 252 of file fccellcollector.h.
|
private |
Definition at line 259 of file fccellcollector.h.
|
private |
Definition at line 250 of file fccellcollector.h.
|
private |
Definition at line 227 of file fccellcollector.h.
|
private |
Definition at line 229 of file fccellcollector.h.
|
private |
Definition at line 225 of file fccellcollector.h.
|
private |
Definition at line 233 of file fccellcollector.h.
|
private |
Definition at line 246 of file fccellcollector.h.
|
private |
Definition at line 248 of file fccellcollector.h.
|
private |
Definition at line 262 of file fccellcollector.h.