Cantera  3.1.0
Loading...
Searching...
No Matches

Warnings raised by Cantera. More...

Collaboration diagram for Warnings:

Detailed Description

Warnings raised by Cantera.

Functions

template<typename... Args>
void warn_deprecated (const string &method, const string &msg, const Args &... args)
 Print a deprecation warning raised from method.
 
template<typename... Args>
void warn (const string &warning, const string &method, const string &msg, const Args &... args)
 Print a generic warning raised from method.
 
template<typename... Args>
void warn_user (const string &method, const string &msg, const Args &... args)
 Print a user warning raised from method as CanteraWarning.
 

Function Documentation

◆ warn_deprecated()

template<typename... Args>
void warn_deprecated ( const string &  method,
const string &  msg,
const Args &...  args 
)

Print a deprecation warning raised from method.

See also
Application::warn_deprecated
Parameters
methodmethod name
msgPython-style format string with the following arguments
argsarguments for the format string

Definition at line 223 of file global.h.

◆ warn()

template<typename... Args>
void warn ( const string &  warning,
const string &  method,
const string &  msg,
const Args &...  args 
)

Print a generic warning raised from method.

See also
Application::warn
Parameters
warningtype of warning; See Logger::warn
methodmethod name
msgPython-style format string with the following arguments
argsarguments for the format string

Definition at line 247 of file global.h.

◆ warn_user()

template<typename... Args>
void warn_user ( const string &  method,
const string &  msg,
const Args &...  args 
)

Print a user warning raised from method as CanteraWarning.

Parameters
methodmethod name
msgPython-style format string with the following arguments
argsarguments for the format string

Definition at line 263 of file global.h.