LifeV
LifeV.hpp File Reference

LifeV main header file. More...

#include <lifev/core/Core_config.h>
#include <LifeV_config.h>
#include <stdint.h>
#include <cstdlib>
#include <iostream>
#include <cmath>
#include <numeric>
#include <iosfwd>
#include <string>
#include <limits>
#include <set>
#include <list>
#include <map>
#include <vector>
#include <boost/shared_ptr.hpp>
#include <boost/numeric/ublas/vector.hpp>
#include <boost/function.hpp>
#include <lifev/core/util/LifeAssert.hpp>
+ Include dependency graph for LifeV.hpp:

Go to the source code of this file.

Namespaces

 LifeV
 Default Physical Solver.
 
 LifeV::Flag
 flag related free functions and functors
 

Macros

#define _LIFEV_HH_
 
#define LIFEV_DEPRECATED(func)   func
 
#define LIFEV_UNUSED(x)   ((void)x)
 
#define NDIM   3
 

Typedefs

typedef double Real
 Generic real data. More...
 
typedef int8_t int8_type
 
typedef int16_t int16_type
 
typedef int32_t int32_type
 
typedef int64_t int64_type
 
typedef uint8_t uint8_type
 
typedef uint16_t uint16_type
 
typedef uint32_t uint32_type
 
typedef uint64_t uint64_type
 
typedef int32_type Int
 Generic integer data. More...
 
typedef uint32_type UInt
 generic unsigned integer (used mainly for addressing) More...
 
typedef uint32_type ID
 IDs. More...
 
typedef uint32_type flag_Type
 bit-flag with up to 32 different flags More...
 
typedef int EpetraInt_Type
 Epetra int type (can be int or long long, accordingly to release notes) More...
 

Functions

template<typename T >
void clearVector (T &stdVector)
 clearVector More...
 
template<typename T >
void resizeVector (T &stdVector, UInt const &newsize)
 resizeVector More...
 

Variables

const UInt nDimensions
 
const ID NotAnId = std::numeric_limits<Int>::max()
 

FlagFunctions

They implement basic operations on boolean flags

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. More...
 
bool testOneSet (flag_Type const &inputFlag, flag_Type const &refFlag)
 returns true if at least one flag set in refFlag is set in inputFlag More...
 
bool testOneNotSet (flag_Type const &inputFlag, flag_Type const &refFlag)
 returns false if at least one flag set in refFlag is set in inputFlag More...
 
flag_Type turnOn (flag_Type const &inputFlag, flag_Type const &refFlag)
 turns on the refFlag active bits in inputFlag More...
 
flag_Type turnOff (flag_Type const &inputFlag, flag_Type const &refFlag)
 turns off the refFlag active bits in inputFlag More...
 
flag_Type change (flag_Type const &inputFlag, flag_Type const &refFlag)
 switches the refFlag active bits in inputFlag More...
 
flag_Type replaceFlag (flag_Type const &, flag_Type const &refFlag)
 replaces the given flag with the reference one. More...
 
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 corresponds to first -> last flag ) More...
 

Detailed Description

LifeV main header file.

Author
Luca Formaggia
Jean-Fred Gerbeau.
Christophe Prud'homme
Contributor:
Simone Deparis simon.nosp@m.e.de.nosp@m.paris.nosp@m.@epf.nosp@m.l.ch
Maintainer:
Simone Deparis simon.nosp@m.e.de.nosp@m.paris.nosp@m.@epf.nosp@m.l.ch
Date
01-01-2004, 01-12-2010

Defines typedefs and macros common to ALL lifeV.h software it must be includes in all translation units.

Definition in file LifeV.hpp.

Macro Definition Documentation

◆ _LIFEV_HH_

#define _LIFEV_HH_

Definition at line 88 of file LifeV.hpp.

◆ LIFEV_DEPRECATED

#define LIFEV_DEPRECATED (   func)    func

Definition at line 117 of file LifeV.hpp.

◆ LIFEV_UNUSED

#define LIFEV_UNUSED (   x)    ((void)x)

Definition at line 125 of file LifeV.hpp.

◆ NDIM

#define NDIM   3

Definition at line 265 of file LifeV.hpp.