internal void Set_Freeze_Out_Temperature(double freeze_out_T) { if (!allow_donors) { throw new NotImplementedException("Error - you are not allowed to add donors to layer no " + Layer_No.ToString()); } this.freeze_out_temp = freeze_out_T; }
public void Set_Dopents(double acceptor_concentration, double donor_concentration) { if (!allow_donors) { throw new NotImplementedException("Error - you are not allowed to add donors to layer no " + Layer_No.ToString()); } this.acceptor_concentration = acceptor_concentration; this.donor_concentration = donor_concentration; Set_Freeze_Out_Temperature(); }