Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Mesquite.hpp File Reference
#include <cstring>
#include <cmath>
#include <cfloat>
#include <climits>
Include dependency graph for Mesquite.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Mesquite
 Used to hold the error state and return it to the application.
 

Macros

#define msq_stdc   std
 
#define msq_stdio   std
 
#define msq_std   std
 

Typedefs

typedef int StatusCode
 
typedef double real
 

Enumerations

enum  StatusCodeValues { MSQ_FAILURE = 0, MSQ_SUCCESS }
 
enum  EntityTopology {
  POLYGON =7, TRIANGLE =8, QUADRILATERAL =9, POLYHEDRON =10,
  TETRAHEDRON =11, HEXAHEDRON =12, PRISM =13, PYRAMID =14,
  SEPTAHEDRON =15, MIXED
}
 
enum  ReleaseType { STABLE_RELEASE, BETA, ALPHA }
 

Functions

const char * version_string (bool include_build_number=false)
 
unsigned int major_version_number ()
 
unsigned int minor_version_number ()
 
unsigned int build_number ()
 
Mesquite::ReleaseType release_type ()
 
template<class T >
MSQ_MIN_2 (T a, T b)
 
template<class T >
MSQ_MAX_2 (T a, T b)
 
double cbrt (double d)
 
double cbrt_sqr (double d)
 

Variables

const int MSQ_MAX_NUM_VERT_PER_ENT =8
 
const int MSQ_HIST_SIZE =7
 
static const double MSQ_SQRT_TWO = msq_stdc::sqrt(2.0)
 
static const double MSQ_SQRT_THREE = msq_stdc::sqrt(3.0)
 
static const double MSQ_SQRT_THREE_DIV_TWO =MSQ_SQRT_THREE/2.0
 
static const double MSQ_SQRT_THREE_INV =1.0/MSQ_SQRT_THREE
 
static const double MSQ_SQRT_TWO_INV =1.0/MSQ_SQRT_TWO
 
static const double MSQ_SQRT_TWO_DIV_SQRT_THREE =MSQ_SQRT_TWO/MSQ_SQRT_THREE
 
static const double MSQ_ONE_THIRD = 1.0 / 3.0
 
static const double MSQ_TWO_THIRDS = 2.0 / 3.0
 
static const double MSQ_3RT_2_OVER_6RT_3 = msq_stdc::pow( 2/MSQ_SQRT_THREE, MSQ_ONE_THIRD )
 
const unsigned MSQ_UINT_MAX = ~(unsigned)0
 
const int MSQ_INT_MAX = MSQ_UINT_MAX >> 1
 
const int MSQ_INT_MIN = ~MSQ_INT_MAX
 
const double MSQ_DBL_MIN = 1.0E-30
 
const double MSQ_MIN = MSQ_DBL_MIN
 
const double MSQ_DBL_MAX = 1.0E30
 
const double MSQ_MAX = MSQ_DBL_MAX
 
const double MSQ_MAX_CAP = 1.e6
 

Macro Definition Documentation

#define msq_std   std

Definition at line 52 of file Mesquite.hpp.

#define msq_stdc   std

Definition at line 40 of file Mesquite.hpp.

#define msq_stdio   std

Definition at line 46 of file Mesquite.hpp.