MCPcopy Create free account
hub / github.com/NGSolve/ngsolve / WarnDeprecated

Function WarnDeprecated

bem/python_bem.cpp:20–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18namespace
19{
20 void WarnDeprecated(const string & oldname, const string & replacement)
21 {
22 string message = oldname + " is deprecated; use " + replacement + " instead.";
23 py::warnings::warn(message.c_str(), PyExc_FutureWarning, 1);
24 }
25
26 template <class KernelReal, class KernelComplex>
27 shared_ptr<BasePotentialOperator>

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected