mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
fix warnings
This commit is contained in:
parent
56c86dfb49
commit
bb44c7b0c3
@ -131,7 +131,7 @@ namespace netgen
|
|||||||
public:
|
public:
|
||||||
UserPoint() = default;
|
UserPoint() = default;
|
||||||
UserPoint (Point<3> p, int _index) : Point<3>(p), index(_index) { ; }
|
UserPoint (Point<3> p, int _index) : Point<3>(p), index(_index) { ; }
|
||||||
UserPoint (Point<3> p, const string & _name) : Point<3>(p), name(_name), index(-1) { ; }
|
UserPoint (Point<3> p, const string & _name) : Point<3>(p), index(-1), name(_name) { ; }
|
||||||
int GetIndex() const { return index; }
|
int GetIndex() const { return index; }
|
||||||
const string & GetName() const { return name; }
|
const string & GetName() const { return name; }
|
||||||
void DoArchive(Archive& archive)
|
void DoArchive(Archive& archive)
|
||||||
|
@ -245,8 +245,8 @@ namespace netgen::cg
|
|||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
int section;
|
int section;
|
||||||
int start = 1;
|
// int start = 1;
|
||||||
int end = ne;
|
// int end = ne;
|
||||||
#if CGNS_VERSION < 3400
|
#if CGNS_VERSION < 3400
|
||||||
cg_section_write(fn,base,zone, name.c_str(), MIXED, ne_before+1, ne_before+ne, 0, &data[0], §ion);
|
cg_section_write(fn,base,zone, name.c_str(), MIXED, ne_before+1, ne_before+ne, 0, &data[0], §ion);
|
||||||
#else
|
#else
|
||||||
@ -762,7 +762,7 @@ namespace netgen
|
|||||||
imax1 = max(imax1, el.si);
|
imax1 = max(imax1, el.si);
|
||||||
|
|
||||||
int ne_written = 0;
|
int ne_written = 0;
|
||||||
int meshdim = mesh.GetDimension();
|
// int meshdim = mesh.GetDimension();
|
||||||
|
|
||||||
for(const auto i : IntRange(imax3))
|
for(const auto i : IntRange(imax3))
|
||||||
ne_written += cg::WriteCGNSRegion(mesh, 3, i+1, fn, base, zone, ne_written);
|
ne_written += cg::WriteCGNSRegion(mesh, 3, i+1, fn, base, zone, ne_written);
|
||||||
|
Loading…
Reference in New Issue
Block a user