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:
|
||||
UserPoint() = default;
|
||||
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; }
|
||||
const string & GetName() const { return name; }
|
||||
void DoArchive(Archive& archive)
|
||||
|
@ -245,8 +245,8 @@ namespace netgen::cg
|
||||
return 0;
|
||||
|
||||
int section;
|
||||
int start = 1;
|
||||
int end = ne;
|
||||
// int start = 1;
|
||||
// int end = ne;
|
||||
#if CGNS_VERSION < 3400
|
||||
cg_section_write(fn,base,zone, name.c_str(), MIXED, ne_before+1, ne_before+ne, 0, &data[0], §ion);
|
||||
#else
|
||||
@ -762,7 +762,7 @@ namespace netgen
|
||||
imax1 = max(imax1, el.si);
|
||||
|
||||
int ne_written = 0;
|
||||
int meshdim = mesh.GetDimension();
|
||||
// int meshdim = mesh.GetDimension();
|
||||
|
||||
for(const auto i : IntRange(imax3))
|
||||
ne_written += cg::WriteCGNSRegion(mesh, 3, i+1, fn, base, zone, ne_written);
|
||||
|
Loading…
Reference in New Issue
Block a user