libbio
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
Miscibilities.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  bio
 
namespace  bio::chemical
 
namespace  bio::chemical::miscibility
 

Macros

#define BIO_MISCIBILTY_FUNCTION_BODY(functionName)
 

Functions

const Miscibilitybio::chemical::miscibility::Passthrough ()
 

Macro Definition Documentation

◆ BIO_MISCIBILTY_FUNCTION_BODY

#define BIO_MISCIBILTY_FUNCTION_BODY (   functionName)
Value:
const ::bio::chemical::Miscibility& functionName() \
{ \
static ::bio::chemical::Miscibility miscibility(#functionName); \
return miscibility; \
}

To make defining Miscibilities easier, use this macro to define the function body of your Miscibility Function().
This will create a static Miscibility named after your FunctionName.
REMINDER: Your Miscibility Function()s should be in the bio::chemical::miscibility namespace.