Cantera  3.1.0a1

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. More...
 
template<typename... Args>
void warn (const string &warning, const string &method, const string &msg, const Args &... args)
 Print a generic warning raised from method. More...
 
template<typename... Args>
void warn_user (const string &method, const string &msg, const Args &... args)
 Print a user warning raised from method as CanteraWarning. More...
 

Function Documentation

◆ warn_deprecated()

void Cantera::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 227 of file global.h.

◆ warn()

void Cantera::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 251 of file global.h.

◆ warn_user()

void Cantera::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 267 of file global.h.