59 #ifdef PACKAGE_BUGREPORT 60 #undef PACKAGE_BUGREPORT 67 #ifdef PACKAGE_TARNAME 68 #undef PACKAGE_TARNAME 71 #ifdef PACKAGE_VERSION 72 #undef PACKAGE_VERSION 79 #include <lifev/core/Core_config.h> 81 #include <LifeV_config.h> 84 #error You must use C++ for LifeV 105 #include <boost/shared_ptr.hpp> 106 #include <boost/numeric/ublas/vector.hpp> 107 #include <boost/function.hpp> 115 #define LIFEV_DEPRECATED( func ) func __attribute__ ((deprecated)) 117 #define LIFEV_DEPRECATED( func ) func 125 #define LIFEV_UNUSED(x) ((void)x) 127 #include <lifev/core/util/LifeAssert.hpp> 212 return ( inputFlag & refFlag ) == refFlag;
218 return inputFlag & refFlag;
224 return ! (inputFlag & refFlag);
230 return inputFlag | refFlag;
236 return inputFlag & ~refFlag;
242 return inputFlag ^ refFlag;
277 T().swap (stdVector);
288 stdVector.resize (newsize);
289 if (stdVector.capacity() > stdVector.size() )
291 T (stdVector).swap (stdVector);
uint32_type flag_Type
bit-flag with up to 32 different flags
flag_Type turnOn(flag_Type const &inputFlag, flag_Type const &refFlag)
turns on the refFlag active bits in inputFlag
flag_Type turnOff(flag_Type const &inputFlag, flag_Type const &refFlag)
turns off the refFlag active bits in inputFlag
int32_type Int
Generic integer data.
void updateInverseJacobian(const UInt &iQuadPt)
void resizeVector(T &stdVector, UInt const &newsize)
resizeVector
bool testOneSet(flag_Type const &inputFlag, flag_Type const &refFlag)
returns true if at least one flag set in refFlag is set in inputFlag
flag_Type change(flag_Type const &inputFlag, flag_Type const &refFlag)
switches the refFlag active bits in inputFlag
void showMe(flag_Type const &flag, std::ostream &out=std::cout)
showMe method to print out flag status the flag is converted to its binary form ( right -> left corre...
void clearVector(T &stdVector)
clearVector
double Real
Generic real data.
flag related free functions and functors
bool testAllSet(flag_Type const &inputFlag, flag_Type const &refFlag)
It returns true if all bit-flags common set in refFlag are also set in inputFlag. ...
const UInt nDimensions(NDIM)
bool testOneNotSet(flag_Type const &inputFlag, flag_Type const &refFlag)
returns false if at least one flag set in refFlag is set in inputFlag
int EpetraInt_Type
Epetra int type (can be int or long long, accordingly to release notes)
uint32_type UInt
generic unsigned integer (used mainly for addressing)
flag_Type replaceFlag(flag_Type const &, flag_Type const &refFlag)
replaces the given flag with the reference one.