99 meshFillColor = ColorGetPixelFromString(const_cast< char * >(
"black"), & suc);
101 edgeColor = ColorGetPixelFromString(const_cast< char * >(
"black"), & suc);
102 edgeColor = ColorGetPixelFromString(const_cast< char * >(
"DarkGray"), & suc);
104 nodeColor = ColorGetPixelFromString(const_cast< char * >(
"black"), & suc);
105 bcicColor = ColorGetPixelFromString(const_cast< char * >(
"orange"), & suc);
106 bcForceColor = ColorGetPixelFromString(const_cast< char * >(
"red"), & suc);
107 crackPatternColor = ColorGetPixelFromString(const_cast< char * >(
"gray66"), & suc);
108 activeCrackColor = ColorGetPixelFromString(const_cast< char * >(
"red2"), & suc);
111 geometryColor = ColorGetPixelFromString(const_cast< char * >(
"yellow"), & suc);
113 yieldPlotColors [ 0 ] = ColorGetPixelFromString(const_cast< char * >(
"pink"), & suc);
114 yieldPlotColors [ 1 ] = ColorGetPixelFromString(const_cast< char * >(
"PaleVioletRed"), & suc);
115 yieldPlotColors [ 2 ] = ColorGetPixelFromString(const_cast< char * >(
"maroon"), & suc);
117 crossSectionColor = ColorGetPixelFromString(const_cast< char * >(
"blue"), & suc);
121 ft = ColorCreateFringeTable();
130 for ( i = 1; i <= nmat; i++ ) {
156 int indx = ( int ) floor(relVal * tableSize + 0.5);
157 return table [ indx - 1 ];
164 int elemFiltState = 0;
166 return matFilterState;
175 return ( matFilterState && elemFiltState );
218 for (
int i = 1; i <= nmat; i++ ) {
243 for (
int i = 0; i < size; i++ ) {
245 smin = smax = s [ i ];
248 if ( smax < s [ i ] ) {
252 if ( smin > s [ i ] ) {
259 if ( fabs(smax - smin) < 1.e-12 ) {
263 ColorSetupFringeTableByMinMax(this->
getFringeTable(), ( FPNum ) smin, ( FPNum ) smax);
EngngModel * getActiveProblem()
virtual EngngModel * giveSlaveProblem(int i)
Returns i-th slave problem.
int getMaterialModelFilterState(int i)
Returns the state of material model (region) filter for particular mod.el.
int testElementGraphicActivity(Element *)
Test if particular element passed fulfills various filtering criteria for its graphics output...
static EPixel geometryColor
static int intVarDefGeoFlag
static double zprofilescale
static EPixel remoteMeshFillColor
static EPixel crackPatternColor
int setActiveProblem(int a)
int max(int i, int j)
Returns bigger value form two given decimals.
static EPixel activeCrackColor
void setMaterialModelFilterState(int i, int state)
Sets the state of material model (region) filter for particular model.
OGC_PlotModeType plotMode
static bool staticVarsInitFlag
Abstract base class for all finite elements.
static EPixel standardSparseProfileColor
int & at(int i)
Coefficient access function.
static int activeStepVersion
static EPixel bcForceColor
#define OOFEG_YIELD_STEPS
static EPixel remoteEdgeColor
static std::list< Range > element_filter
static ScalarAlgorithmType scalarAlgo
Class Range is an abstraction for interval of integer numbers.
static int sparseProfileMode
EFringeTable getFringeTable()
int giveNumberOfMaterialModels() const
Returns number of material models in domain.
static SmootherType smootherType
static InternalStateMode varMode
void resize(int n)
Checks size of receiver towards requested bounds.
static EPixel deformedElementColor
static EPixel crossSectionColor
static EPixel extendedSparseProfileColor
static int activeYieldStep
static EPixel meshFillColor
void setScaleVals(double smin, double smax)
int giveNumberOfDomains()
Returns number of domains in problem.
void setElementFilterState(char *initString)
Sets the state of element filter for particular model.
void updateFringeTableMinMax(double *s, int size)
EPixel GR_giveColorFromUserColorTable(EPixel *table, int tableSize, double relVal)
Abstract base class representing the "problem" under consideration.
static EPixel yieldPlotColors[OOFEG_YIELD_STEPS]
the oofem namespace is to define a context or scope in which all oofem names are defined.
Domain * giveDomain(int n)
Service for accessing particular problem domain.
static IntArray matRegFilter
static EngngModel * emodel
InternalStateMode
Determines the mode of internal variable.
virtual Material * giveMaterial()