COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Understanding options

Options offer a convinient way to manipulate data no matter its type is. Internally, the value is stored as a boost::any object that theorically supports any type of value. In practice, template functions are defined in CPP files by using the explicit template declaration concept in order to optimize the compilation process. That is, only six types are supported by COOLFluiD options : bool, int, cf3::Uint, cf3::Real, std::string and common::URI. Trying to instanciate an option with another type will lead to a linking error (undefined reference).

Options are defined by the class common::Option, which is an abstract class. A list of options can be easily managed by using the class common::OptionList. The Common library provides some classes for different purposes of use :

Using options

Options provide the following information:

When you build an option, default and current values are the same. The type is

Single value options

Array options

Options and components

Triggers

Send comments to:
COOLFluiD Web Admin