00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042 #include "SundanceQuadratureIntegralBase.hpp"
00043 #include "SundanceGaussianQuadrature.hpp"
00044 #include "SundanceMultiIndex.hpp"
00045 #include "SundanceOut.hpp"
00046 #include "PlayaTabs.hpp"
00047 #include "Teuchos_TimeMonitor.hpp"
00048
00049 using namespace Sundance;
00050 using namespace Sundance;
00051 using namespace Sundance;
00052 using namespace Sundance;
00053 using namespace Sundance;
00054 using namespace Sundance;
00055 using namespace Sundance;
00056 using namespace Teuchos;
00057
00058
00059 extern "C"
00060 {
00061 int dgemm_(const char* transA, const char* transB,
00062 const int* M, const int *N, const int* K,
00063 const double* alpha,
00064 const double* A, const int* ldA,
00065 const double* B, const int* ldB,
00066 const double* beta,
00067 double* C, const int* ldC);
00068 }
00069
00070 QuadratureIntegralBase::QuadratureIntegralBase(int spatialDim,
00071 const CellType& maxCellType,
00072 int dim,
00073 const CellType& cellType,
00074 const QuadratureFamily& quad,
00075 bool isInternalBdry,
00076 const ParametrizedCurve& globalCurve,
00077 const Mesh& mesh,
00078 int verb)
00079 : ElementIntegral(spatialDim, maxCellType, dim, cellType, isInternalBdry, globalCurve, mesh,
00080 verb),
00081 nQuad_(0)
00082 {
00083 }
00084
00085
00086 QuadratureIntegralBase::QuadratureIntegralBase(int spatialDim,
00087 const CellType& maxCellType,
00088 int dim,
00089 const CellType& cellType,
00090 const BasisFamily& testBasis,
00091 int alpha,
00092 int testDerivOrder,
00093 const QuadratureFamily& quad,
00094 bool isInternalBdry,
00095 const ParametrizedCurve& globalCurve,
00096 const Mesh& mesh,
00097 int verb)
00098 : ElementIntegral(spatialDim, maxCellType, dim, cellType,
00099 testBasis, alpha, testDerivOrder, isInternalBdry, globalCurve, mesh, verb),
00100 nQuad_(0)
00101 {
00102
00103 }
00104
00105
00106
00107
00108 QuadratureIntegralBase::QuadratureIntegralBase(int spatialDim,
00109 const CellType& maxCellType,
00110 int dim,
00111 const CellType& cellType,
00112 const BasisFamily& testBasis,
00113 int alpha,
00114 int testDerivOrder,
00115 const BasisFamily& unkBasis,
00116 int beta,
00117 int unkDerivOrder,
00118 const QuadratureFamily& quad,
00119 bool isInternalBdry,
00120 const ParametrizedCurve& globalCurve,
00121 const Mesh& mesh,
00122 int verb)
00123 : ElementIntegral(spatialDim, maxCellType, dim, cellType,
00124 testBasis, alpha, testDerivOrder,
00125 unkBasis, beta, unkDerivOrder, isInternalBdry, globalCurve, mesh, verb),
00126 nQuad_(0)
00127 {
00128
00129 }
00130
00131
00132
00133
00134