src/OFLCalcs.cpp
dvariable Tier3_Calculator::calcBmsy(dvariable R, ostream& cout){
    if (debug) cout<<"starting double Tier3_Calculator::calcBmsy(dvariable R)"<<endl;
    RETURN_ARRAYS_INCREMENT();
    Bmsy = XX*calcB100(R,cout);
    if (debug) {
        cout<<"Bmsy = "<<Bmsy<<endl;
        cout<<"finished double Tier3_Calculator::calcBmsy(dvariable R)"<<endl;
    }
    RETURN_ARRAYS_DECREMENT();
    return 1.0*Bmsy;
}
/**
 * Calculate equilibrium mature male biomass-at-mating (MMB) when directed fishery
 * is fished at longterm capture rate Fmsy. For a Tier 3 stock, 
 * Bmsy = B35% = 0.35*B100.
 * 
 * Also calculates class members B100 and B0.
* 
 * @param R - longterm (average) recruitment (male-only, millions)
 * @param cout - output stream for debug info
 * 
 * @return equilibrium MMB for population fished at Fmsy (1000's t)
 */
Calculate equilibrium mature male biomass-at-mating (MMB) when directed fishery
is fished at longterm capture rate Fmsy.

Also calculates class members B100 and B0.

@param R - longterm (average) recruitment (male-only, millions)
@param cout - output stream for debug info

@return equilibrium MMB for population fished at Fmsy (1000's t)
Calculate equilibrium mature male biomass - at - mating ( MMB ) when directed fishery is fished at longterm capture rate Fmsy . Also calculates class members B100 and B0 . @param R - longterm ( average ) recruitment ( male - only millions ) @param cout - output stream for debug info @return equilibrium MMB for population fished at Fmsy ( 1000 ' s t )
dvariable Tier3_Calculator::calcBmsy(dvariable R, ostream& cout){
    if (debug) cout<<"starting double Tier3_Calculator::calcBmsy(dvariable R)"<<endl;
    RETURN_ARRAYS_INCREMENT();
    Bmsy = XX*calcB100(R,cout);
    if (debug) {
        cout<<"Bmsy = "<<Bmsy<<endl;
        cout<<"finished double Tier3_Calculator::calcBmsy(dvariable R)"<<endl;
    }
    RETURN_ARRAYS_DECREMENT();
    return 1.0*Bmsy;
}
dvariable Tier3_Calculator :: calcBmsy ( dvariable R , ostream & cout ) { if ( debug ) cout << " " << endl ; RETURN_ARRAYS_INCREMENT ( ) ; Bmsy = XX * calcB100 ( R , cout ) ; if ( debug ) { cout << " " << Bmsy << endl ; cout << " " << endl ; } RETURN_ARRAYS_DECREMENT ( ) ; return 1.0 * Bmsy ; }
Calculate equilibrium mature male biomass-at-mating (MMB) when directed fishery
 is fished at longterm capture rate Fmsy.
Calculate equilibrium mature male biomass - at - mating ( MMB ) when directed fishery is fished at longterm capture rate Fmsy .