Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

Warning generated on compiling MeshSizeCF

More
4 years 4 months ago #2210 by hvwahl
Hi,

when compiling coefficient functions which contain the coefficient function specialcf.mesh_size (on a build from the tastes GitHub sources), the following warning is generated:
Code:
code1_0.cpp: In function 'void CompiledEvaluate(ngfem::BaseMappedIntegrationRule&, ngbla::BareSliceMatrix<double, ngbla::RowMajor>)': code1_0.cpp:247:26: warning: 'int ngfem::BaseMappedIntegrationPoint::Dim() const' is deprecated: Use DimSpace instead [-Wdeprecated-declarations] 247 | switch (ip.Dim()) | ^

The fix seems to be "switch (ip.DimSpace())" lines 669 and 681 in fem/python_fem.cpp

Best wishes,
Henry
The following user(s) said Thank You: mneunteufel
More
4 years 4 months ago #2211 by mneunteufel
Hi Henry,

thank you for the report. It will be fixed in the next nightly build.

Best,
Michael
More
4 years 4 months ago #2212 by hvwahl
Thank you!

Best wishes,
Henry
Time to create page: 0.153 seconds