Blockstructured Adaptive Mesh Refinement in object-oriented C++
00001 #ifndef AMROC_CLP_FUNCTIONS_H 00002 #define AMROC_CLP_FUNCTIONS_H 00003 00012 #include "DAGH.h" 00013 #include "IO/control-device.h" 00014 #include "Vector.h" 00015 00016 typedef DOUBLE Data_type; 00017 typedef Vector(NEQUATIONS)<Data_type> Vector_type; 00018 00019 #if defined __xlC__ && __IBMCPP__ >= 400 00020 #else 00021 Data_type abs(const Data_type& x) { return ((x) < 0 ? -(x) : (x)); } 00022 #endif 00023 00024 #if DIM == 1 00025 # include "ClpFunctions1.h" 00026 #elif DIM == 2 00027 # include "ClpFunctions2.h" 00028 #elif DIM == 3 00029 # include "ClpFunctions3.h" 00030 #endif 00031 00032 00033 #endif
Quickstart Users Guide Programmers Reference Installation Examples Download
AMROC Main Home Contactlast update: 06/01/04