- Thank you received: 24
Warning generated on compiling MeshSizeCF
4 years 11 months ago #2210
by hvwahl
Warning generated on compiling MeshSizeCF was created 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:
The fix seems to be "switch (ip.DimSpace())" lines 669 and 681 in fem/python_fem.cpp
Best wishes,
Henry
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
- mneunteufel
- Offline
- Premium Member
Less
More
- Thank you received: 59
4 years 11 months ago #2211
by mneunteufel
Replied by mneunteufel on topic Warning generated on compiling MeshSizeCF
Hi Henry,
thank you for the report. It will be fixed in the next nightly build.
Best,
Michael
thank you for the report. It will be fixed in the next nightly build.
Best,
Michael
Time to create page: 0.105 seconds