#include <YieldSurfaceCombinationManager.h>
Public Types | |
typedef Eigen::Array< bool, 1, nYieldSurfaces > | YieldSurfFlagArr |
An array to carry active/nonactive states of yield surfaces. More... | |
typedef Eigen::Array< double, 1, nYieldSurfaces > | YieldSurfResArr |
An array to carry values of yield functions. More... | |
Public Member Functions | |
YieldSurfaceCombinationManager () | |
bool | getAnotherYieldFlagCombination (YieldSurfFlagArr &activeSurfaces) |
get another unused combination of yield surfaces More... | |
void | markYieldFlagCombinationAsUsed (const YieldSurfFlagArr &activeSurfaces) |
set the current combination as used More... | |
void | resetUsedYieldFlagCombinations () |
reset all yieldsurfaces as unused More... | |
Public Attributes | |
Eigen::Array< bool,(1<< nYieldSurfaces) - 1,(nYieldSurfaces+1) > | yieldSurfaceCombinations |
An array which contains every possible (reasonable) combination of yield surfaces. More... | |
Private Attributes | |
const int | idxUsedFlag |
Column in the YieldSurfFlagArr for marking a combination as used. More... | |
Manager for yield surface combinations for multisurface plasticity: Try different yield surface combinations and track already used combinations
typedef Eigen::Array< bool, 1, nYieldSurfaces > Marmot::NumericalAlgorithms::YieldSurfaceCombinationManager< nYieldSurfaces >::YieldSurfFlagArr |
An array to carry active/nonactive states of yield surfaces.
typedef Eigen::Array< double, 1, nYieldSurfaces > Marmot::NumericalAlgorithms::YieldSurfaceCombinationManager< nYieldSurfaces >::YieldSurfResArr |
An array to carry values of yield functions.
Marmot::NumericalAlgorithms::YieldSurfaceCombinationManager< n >::YieldSurfaceCombinationManager |
bool Marmot::NumericalAlgorithms::YieldSurfaceCombinationManager< n >::getAnotherYieldFlagCombination | ( | YieldSurfFlagArr & | activeSurfaces | ) |
get another unused combination of yield surfaces
void Marmot::NumericalAlgorithms::YieldSurfaceCombinationManager< n >::markYieldFlagCombinationAsUsed | ( | const YieldSurfFlagArr & | activeSurfaces | ) |
set the current combination as used
void Marmot::NumericalAlgorithms::YieldSurfaceCombinationManager< n >::resetUsedYieldFlagCombinations |
reset all yieldsurfaces as unused
|
private |
Column in the YieldSurfFlagArr for marking a combination as used.
Eigen::Array< bool, ( 1 << nYieldSurfaces ) - 1, ( nYieldSurfaces + 1 ) > Marmot::NumericalAlgorithms::YieldSurfaceCombinationManager< nYieldSurfaces >::yieldSurfaceCombinations |
An array which contains every possible (reasonable) combination of yield surfaces.