Subversion Repositories public iLand

Rev

Rev 144 | Rev 147 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 144 Rev 145
Line 482... Line 482...
482
482
483
//////////////////////////////////////////////////
483
//////////////////////////////////////////////////
484
////  value functions
484
////  value functions
485
//////////////////////////////////////////////////
485
//////////////////////////////////////////////////
486
486
487
const double Tree::volume() const
-
 
-
 
487
double Tree::volume() const
488
{
488
{
489
    /// @see Species::volumeFactor() for details
489
    /// @see Species::volumeFactor() for details
490
    const double volume_factor = mSpecies->volumeFactor();
490
    const double volume_factor = mSpecies->volumeFactor();
491
    const double volume =  volume_factor * mDbh*mDbh*mHeight;
491
    const double volume =  volume_factor * mDbh*mDbh*mHeight;
492
    return volume;
492
    return volume;