mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 13:30:34 +05:00
fix warnings
This commit is contained in:
parent
c06246f3bf
commit
cf0d3f6682
@ -222,7 +222,7 @@ namespace netgen
|
||||
ata.Solve (f, u);
|
||||
|
||||
// the sign
|
||||
Point<D> p0 = GetPoint(0);
|
||||
// Point<D> p0 = GetPoint(0);
|
||||
Vec<D> ht = GetTangent(0);
|
||||
Vec<2> tang(ht(0), ht(1));
|
||||
|
||||
|
@ -17,12 +17,13 @@ namespace netgen
|
||||
if (!w) w = h;
|
||||
width = w;
|
||||
height = h;
|
||||
if (h*w)
|
||||
data = new double[h*w];
|
||||
int hw = h*w;
|
||||
if (hw)
|
||||
data = new double[hw];
|
||||
else
|
||||
data = 0;
|
||||
|
||||
for (int i = 0 ; i < (h * w); i++)
|
||||
for (int i = 0 ; i < (hw); i++)
|
||||
data[i] = 0;
|
||||
}
|
||||
|
||||
|
@ -8,7 +8,7 @@ namespace netgen
|
||||
static mutex buildsearchtree_mutex;
|
||||
|
||||
Mesh :: Mesh ()
|
||||
: surfarea(*this), topology(*this)
|
||||
: topology(*this), surfarea(*this)
|
||||
{
|
||||
// volelements.SetName ("vol elements");
|
||||
// surfelements.SetName ("surf elements");
|
||||
@ -5602,7 +5602,7 @@ namespace netgen
|
||||
{
|
||||
int i, j, nv;
|
||||
int ne = GetNE();
|
||||
int nse = GetNSE();
|
||||
// int nse = GetNSE();
|
||||
|
||||
numvertices = 0;
|
||||
for (i = 1; i <= ne; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user