Quantum Fog  0.9.3
C_BEAM_SPL_AMP_GEN.h
1 #pragma once
2 #include "C_AMP_GEN.h"
3 #include "BEAM_SPL.h"
4 #include "TWO_MODE_FUN.h"
5 class QB_NET;
6 class C_PI_WIND;
7 
8 enum BS_TYPE{scalar_bs, vector_bs};
9 
10 //******************************************
12 {
13 private:
14  DOUBLE its_tau_mag;
15  DOUBLE its_tau_ang;//phase angle in degrees
16  DOUBLE its_rho_ang;//phase angle in degrees
17  USHORT its_max_n_sum;
18  BS_TYPE its_type;
19 public:
20 
21  C_BEAM_SPL_AMP_GEN(BEAM_SPL * nd_p, QB_NET * net_p, C_PI_WIND * pi_wind_p);
22 
23  const DOUBLE & get_tau_mag() const;
24  VOID set_tau_mag(const DOUBLE & mag);
25  const DOUBLE & get_tau_ang() const;
26  VOID set_tau_ang(const DOUBLE & ang);
27  const DOUBLE & get_rho_ang() const;
28  VOID set_rho_ang(const DOUBLE & ang);
29  USHORT get_max_n_sum() const;
30  VOID set_max_n_sum(USHORT max);
31  USHORT get_expected_degen(const USHORT * m1x_p, const USHORT * m2x_p, const USHORT * m1y_p, const USHORT * m2y_p);
32 
33  BOOLEAN parents_are_canonical();
34  BOOLEAN dialog_entries_are_legal(
35  Str255 tau_mag_sq_pstr, Str255 tau_ang_pstr, Str255 rho_ang_pstr, Str255 max_n_sum_pstr);
36  VOID fill_trans_mat_and_st_names_of_nd();
37  BOOLEAN talk();
38 
39 };
40 #pragma mark -
41 
42 //******************************************
43 inline
44 const DOUBLE & C_BEAM_SPL_AMP_GEN::get_tau_mag() const
45 {
46  return its_tau_mag;
47 }
48 //******************************************
49 inline
50 VOID C_BEAM_SPL_AMP_GEN::set_tau_mag(
51 const DOUBLE & mag) //in
52 {
53  its_tau_mag = mag;
54 }
55 //******************************************
56 inline
57 const DOUBLE & C_BEAM_SPL_AMP_GEN::get_tau_ang() const
58 {
59  return its_tau_ang;
60 }
61 //******************************************
62 inline
63 const DOUBLE & C_BEAM_SPL_AMP_GEN::get_rho_ang() const
64 {
65  return its_rho_ang;
66 }
67 //******************************************
68 inline
69 USHORT C_BEAM_SPL_AMP_GEN::get_max_n_sum() const
70 {
71  return its_max_n_sum;
72 }
73 //******************************************
74 inline
75 VOID C_BEAM_SPL_AMP_GEN::set_max_n_sum(
76 USHORT max) //in
77 {
78  its_max_n_sum = max;
79 }
Definition: BEAM_SPL.h:24
Definition: C_BEAM_SPL_AMP_GEN.h:11
Definition: QB_NET.h:34
Definition: C_PI_WIND.h:18
Definition: C_AMP_GEN.h:10