#include <ModifiedLogNormalGrainSizeDistribution.hpp>
Public Member Functions | |
double | dnda (double a) const override |
double | firstMixingParameter () const |
double | secondMixingParameter () const |
![]() | |
LogNormalGrainSizeDistribution (SimulationItem *parent, double minSize, double maxSize, double centroid, double width) | |
double | centroid () const |
double | dnda (double a) const override |
double | width () const |
![]() | |
double | amax () const override |
double | amin () const override |
double | maxSize () const |
double | minSize () const |
virtual double | amax () const =0 |
virtual double | amin () const =0 |
virtual double | dnda (double a) const =0 |
![]() | |
template<class T > | |
T * | find (bool setup=true) const |
template<class T > | |
T * | interface (int levels=-999999, bool setup=true) const |
virtual string | itemName () const |
void | setup () |
string | typeAndName () const |
![]() | |
Item (const Item &)=delete | |
virtual | ~Item () |
void | addChild (Item *child) |
const vector< Item * > & | children () const |
virtual void | clearItemListProperty (const PropertyDef *property) |
void | destroyChild (Item *child) |
virtual bool | getBoolProperty (const PropertyDef *property) const |
virtual vector< double > | getDoubleListProperty (const PropertyDef *property) const |
virtual double | getDoubleProperty (const PropertyDef *property) const |
virtual string | getEnumProperty (const PropertyDef *property) const |
virtual int | getIntProperty (const PropertyDef *property) const |
virtual vector< Item * > | getItemListProperty (const PropertyDef *property) const |
virtual Item * | getItemProperty (const PropertyDef *property) const |
virtual string | getStringProperty (const PropertyDef *property) const |
int | getUtilityProperty (string name) const |
virtual void | insertIntoItemListProperty (const PropertyDef *property, int index, Item *item) |
Item & | operator= (const Item &)=delete |
Item * | parent () const |
virtual void | removeFromItemListProperty (const PropertyDef *property, int index) |
virtual void | setBoolProperty (const PropertyDef *property, bool value) |
virtual void | setDoubleListProperty (const PropertyDef *property, vector< double > value) |
virtual void | setDoubleProperty (const PropertyDef *property, double value) |
virtual void | setEnumProperty (const PropertyDef *property, string value) |
virtual void | setIntProperty (const PropertyDef *property, int value) |
virtual void | setItemProperty (const PropertyDef *property, Item *item) |
virtual void | setStringProperty (const PropertyDef *property, string value) |
void | setUtilityProperty (string name, int value) |
virtual string | type () const |
Protected Member Functions | |
ModifiedLogNormalGrainSizeDistribution () | |
![]() | |
LogNormalGrainSizeDistribution () | |
![]() | |
RangeGrainSizeDistribution () | |
RangeGrainSizeDistribution (double minSize, double maxSize) | |
void | setupSelfBefore () override |
![]() | |
GrainSizeDistribution () | |
![]() | |
SimulationItem () | |
virtual bool | offersInterface (const std::type_info &interfaceTypeInfo) const |
virtual void | setupSelfAfter () |
virtual void | setupSelfBefore () |
![]() | |
Item () | |
Private Types | |
using | BaseType = LogNormalGrainSizeDistribution |
using | ItemType = ModifiedLogNormalGrainSizeDistribution |
Private Attributes | |
double | _firstMixingParameter |
double | _secondMixingParameter |
const double & | _y0 |
const double & | _y1 |
Friends | |
class | ItemRegistry |
ModifiedLogNormalGrainSizeDistribution is a GrainSizeDistribution subclass that represents a modified log-normal dust grain size distribution of the form
with a mixing term
The size range of the distribution can be configured in the RangeGrainSizeDistribution base class. The centroid
The functional form for the grain size distribution implemented by this class is inspired by the DustEM code, which is described in Compiègne et al. 2011 (AA, 525, A103) and can be downloaded from http://www.ias.u-psud.fr/DUSTEM/.
|
inlineprotected |
Default constructor for concrete Item subclass ModifiedLogNormalGrainSizeDistribution : "a modified log-normal dust grain size distribution" .
|
overridevirtual |
This function returns the value of
Reimplemented from LogNormalGrainSizeDistribution.
|
inline |
This function returns the value of the discoverable double property firstMixingParameter : "the first mixing parameter y0" .
The minimum value for this property is "[0" .
The maximum value for this property is "1]" .
The default value for this property is given by the conditional value expression "1" .
|
inline |
This function returns the value of the discoverable double property secondMixingParameter : "the second mixing parameter y1" .
The minimum value for this property is "[0" .
The maximum value for this property is "1]" .
The default value for this property is given by the conditional value expression "1" .