/usr/include/soldata.hpp is in libnglib-dev 4.9.13.dfsg-8build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | #ifndef FILE_SOLDATA
#define FILE_SOLDATA
namespace netgen
{
using namespace std;
class DLL_HEADER SolutionData
{
protected:
string name;
int components;
bool iscomplex;
int multidimcomponent;
public:
SolutionData (const string & aname,
int acomponents = 1, bool aiscomplex = 0)
: name(aname), components(acomponents), iscomplex(aiscomplex)
{ ; }
virtual ~SolutionData ()
{ ; }
int GetComponents() { return components; }
bool IsComplex() { return iscomplex; }
virtual bool GetValue (int /* elnr */,
double /* lam1 */, double /* lam2 */, double /* lam3 */,
double * /* values */)
{ return false; }
virtual bool GetValue (int selnr,
const double xref[], const double x[], const double dxdxref[],
double * values)
{ return GetValue (selnr, xref[0], xref[1], xref[2], values); }
virtual bool GetMultiValue (int elnr, int npts,
const double * xref, int sxref,
const double * x, int sx,
const double * dxdxref, int sdxdxref,
double * values, int svalues);
virtual bool GetSurfValue (int /* selnr */,
double /* lam1 */, double /* lam2 */,
double * /* values */)
{ return false; }
virtual bool GetSurfValue (int selnr,
const double xref[], const double x[], const double dxdxref[],
double * values)
{ return GetSurfValue (selnr, xref[0], xref[1], values); }
virtual bool GetMultiSurfValue (int selnr, int npts,
const double * xref, int sxref,
const double * x, int sx,
const double * dxdxref, int sdxdxref,
double * values, int svalues);
void SetMultiDimComponent (int mc)
{ multidimcomponent = mc; }
};
}
#endif
|