DLL_HEADERs

This commit is contained in:
Joachim Schoeberl 2013-04-04 14:35:21 +00:00
parent 6eb7e3ae16
commit bc96ff071f

View File

@ -146,7 +146,7 @@ namespace netgen
class Ngx_Mesh DLL_HEADER class Ngx_Mesh
{ {
private: private:
class Mesh * mesh; class Mesh * mesh;
@ -164,10 +164,10 @@ namespace netgen
Ng_Point GetPoint (int nr) const; Ng_Point GetPoint (int nr) const;
template <int DIM> template <int DIM>
DLL_HEADER Ng_Element GetElement (int nr) const; Ng_Element GetElement (int nr) const;
template <int DIM> template <int DIM>
DLL_HEADER int GetElementIndex (int nr) const; int GetElementIndex (int nr) const;
/// Curved Elements: /// Curved Elements:
@ -176,12 +176,12 @@ namespace netgen
/// x ..... DIM_SPACE global coordinates /// x ..... DIM_SPACE global coordinates
/// dxdxi...DIM_SPACE x DIM_EL Jacobian matrix (row major storage) /// dxdxi...DIM_SPACE x DIM_EL Jacobian matrix (row major storage)
template <int DIM_EL, int DIM_SPACE> template <int DIM_EL, int DIM_SPACE>
DLL_HEADER void ElementTransformation (int elnr, void ElementTransformation (int elnr,
const double * xi, const double * xi,
double * x, double * x,
double * dxdxi) const; double * dxdxi) const;
/// Curved Elements: /// Curved Elements:
/// elnr .. element nr /// elnr .. element nr
/// npts .. number of points /// npts .. number of points
@ -190,22 +190,22 @@ namespace netgen
/// x ..... DIM_SPACE global coordinates /// x ..... DIM_SPACE global coordinates
/// dxdxi...DIM_SPACE x DIM_EL Jacobian matrix (row major storage) /// dxdxi...DIM_SPACE x DIM_EL Jacobian matrix (row major storage)
template <int DIM_EL, int DIM_SPACE> template <int DIM_EL, int DIM_SPACE>
DLL_HEADER void MultiElementTransformation (int elnr, int npts, void MultiElementTransformation (int elnr, int npts,
const double * xi, size_t sxi, const double * xi, size_t sxi,
double * x, size_t sx, double * x, size_t sx,
double * dxdxi, size_t sdxdxi) const; double * dxdxi, size_t sdxdxi) const;
template <int DIM> template <int DIM>
DLL_HEADER Ng_Node<DIM> GetNode (int nr); Ng_Node<DIM> GetNode (int nr);
template <int DIM> template <int DIM>
DLL_HEADER int GetNNodes (); int GetNNodes ();
// Find element of point, returns local coordinates // Find element of point, returns local coordinates
template <int DIM> template <int DIM>
DLL_HEADER int FindElementOfPoint int FindElementOfPoint
(double * p, double * lami, (double * p, double * lami,
bool build_searchtrees = false, bool build_searchtrees = false,
int * const indices = NULL, int numind = 0); int * const indices = NULL, int numind = 0);