nec2++ 2.1.1
Public Member Functions | Public Attributes | List of all members
nec_ground Class Reference

Public Member Functions

 nec_ground (const nec_ground &in_ground)
 
void default_values ()
 
void parse_gn (int itmp1, int itmp2, nec_float tmp1, nec_float tmp2, nec_float tmp3, nec_float tmp4, nec_float tmp5, nec_float tmp6)
 
void setup_cliff (nec_float in_eprs2, nec_float in_sig2, nec_float clt, nec_float cht)
 
nec_complex get_zrati2 (nec_float _wavelength)
 
nec_float get_relative_dielectric_constant () const
 Returns the relative dielectric constant (no units) of the ground medium 1.
 
nec_float get_conductivity () const
 Returns the conductivity in Siemens/meter of the ground medium 1.
 
int get_radial_wire_count () const
 Returns the number of radial wires in the ground screen approximation. If it's zero then this approximation has not been used.
 
nec_float get_radial_wire_length () const
 Returns the length of radial wires used in the ground screen approximation - provided this approximation has been used.
 
nec_float get_radial_wire_radius () const
 Returns the radius of radial wires in the ground screen approximation - provided this approximation has been used.
 
nec_float get_radial_wire_length_wavelengths () const
 Returns the length of radial wires used in the ground screen approximation - provided this approximation has been used.
 
nec_float get_cliff_edge_distance () const
 Return cliff edge distance (meters)
 
nec_float get_cliff_height () const
 
nec_float get_relative_dielectric_constant2 () const
 
nec_float get_conductivity2 () const
 
nec_float get_cl (nec_float _wavelength) const
 Cliff edge in wavelengths,.
 
nec_float get_ch (nec_float _wavelength) const
 Cliff Height in wavelengths.
 
nec_complex get_zrati_sqr () const
 
bool type_finite_reflection ()
 
bool type_perfect ()
 
bool type_sommerfeld_norton ()
 
bool is_valid () const
 
bool present () const
 Return true if a ground is present.
 
void ggrid_interpolate (nec_float x, nec_float y, nec_complex *f1, nec_complex *f2, nec_complex *f3, nec_complex *f4)
 
void write_to_file_aux (std::ostream &os, output_helper &oh, int _ifar)
 
void output_antenna_environment (nec_output_file &_output)
 
void calculate_antenna_environment (c_ground_wave &ground_wave, nec_float freq_mhz)
 

Public Attributes

nec_complex zrati
 
nec_complex frati
 
nec_complex m_t1
 
nec_float t2
 
int ksymp
 

Member Function Documentation

◆ get_cliff_edge_distance()

nec_float nec_ground::get_cliff_edge_distance ( ) const
inline

Return cliff edge distance (meters)

Remarks
If there's a cliff problem, returns the distance from the origin of the coordinate system to join between medium 1 and 2. This distance is either the radius of the circle where the two media join or the distance from the X axis to where the two media join in a line parallel to the Y axis. Specification of the circular or linear option is on the RP card.

◆ get_cliff_height()

nec_float nec_ground::get_cliff_height ( ) const
inline

If there's a cliff problem, returns the distance (positive or zero) by which the surface of medium 2 is below medium 1.

◆ get_conductivity2()

nec_float nec_ground::get_conductivity2 ( ) const
inline

If there's a cliff problem, returns the conductivity in Siemens/meter of the ground medium 2.

◆ get_relative_dielectric_constant2()

nec_float nec_ground::get_relative_dielectric_constant2 ( ) const
inline

If there's a cliff problem, returns the relative dielectric constant (no units) of the ground medium 2.

Member Data Documentation

◆ ksymp

int nec_ground::ksymp

Ground Flag. ==1 no ground, =2 ground present

Referenced by present().


The documentation for this class was generated from the following files: