Public Types | Public Member Functions | Public Attributes | Private Attributes | List of all members
Marmot::NumericalAlgorithms::YieldSurfaceCombinationManager< nYieldSurfaces > Class Template Reference

#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...
 

Detailed Description

template<int nYieldSurfaces>
class Marmot::NumericalAlgorithms::YieldSurfaceCombinationManager< nYieldSurfaces >

Manager for yield surface combinations for multisurface plasticity: Try different yield surface combinations and track already used combinations

Member Typedef Documentation

◆ YieldSurfFlagArr

template<int nYieldSurfaces>
typedef Eigen::Array< bool, 1, nYieldSurfaces > Marmot::NumericalAlgorithms::YieldSurfaceCombinationManager< nYieldSurfaces >::YieldSurfFlagArr

An array to carry active/nonactive states of yield surfaces.

◆ YieldSurfResArr

template<int nYieldSurfaces>
typedef Eigen::Array< double, 1, nYieldSurfaces > Marmot::NumericalAlgorithms::YieldSurfaceCombinationManager< nYieldSurfaces >::YieldSurfResArr

An array to carry values of yield functions.

Constructor & Destructor Documentation

◆ YieldSurfaceCombinationManager()

Member Function Documentation

◆ getAnotherYieldFlagCombination()

template<int n>
bool Marmot::NumericalAlgorithms::YieldSurfaceCombinationManager< n >::getAnotherYieldFlagCombination ( YieldSurfFlagArr activeSurfaces)

get another unused combination of yield surfaces

◆ markYieldFlagCombinationAsUsed()

template<int n>
void Marmot::NumericalAlgorithms::YieldSurfaceCombinationManager< n >::markYieldFlagCombinationAsUsed ( const YieldSurfFlagArr activeSurfaces)

set the current combination as used

◆ resetUsedYieldFlagCombinations()

template<int n>
void Marmot::NumericalAlgorithms::YieldSurfaceCombinationManager< n >::resetUsedYieldFlagCombinations

reset all yieldsurfaces as unused

Member Data Documentation

◆ idxUsedFlag

template<int nYieldSurfaces>
const int Marmot::NumericalAlgorithms::YieldSurfaceCombinationManager< nYieldSurfaces >::idxUsedFlag
private

Column in the YieldSurfFlagArr for marking a combination as used.

◆ yieldSurfaceCombinations

template<int nYieldSurfaces>
Eigen::Array< bool, ( 1 << nYieldSurfaces ) - 1, ( nYieldSurfaces + 1 ) > Marmot::NumericalAlgorithms::YieldSurfaceCombinationManager< nYieldSurfaces >::yieldSurfaceCombinations

An array which contains every possible (reasonable) combination of yield surfaces.


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