Logo Search packages:      
Sourcecode: necpp version File versions  Download package

void nec_context::xq_card ( int  itmp1  ) 

"xq" execute card - calc. including radiated fields

	XQ	EXECUTE ACCUMULATED CARD DECK
		itmp1-
			0=NO PATTERN,
			1=XY PATTERN,
			2= YZ PATTERN,
			3=BOTH
		(DO NOT USE FOR RADIAL GND SCREEN OR 2ND GND MEDIUM)
	
		NOTES: FOR A SINGLE FREQUENCY, XQ, NE, NH, RP CAUSE IMMEDIATE EXECUTION
		FOR MULTIPLE FREQS, ONLY XQ, RP CAUSE EXECUTION
	

Definition at line 700 of file nec_context.cpp.

References ifar, and simulate().

{
      DEBUG_TRACE("xq_card(" << itmp1 << ")");
      DEBUG_TRACE("iflow =" << iflow);
      if (  ((iflow == 10) && (itmp1 == 0)) ||
            ((nfrq  ==  1) && (itmp1 == 0) && (iflow > 7)) )
            return; /* continue card input loop */

      if ( itmp1 == 0)
      {
            if ( iflow > 7)
                  iflow=11;
            else
                  iflow=7;
      }
      else
      {
            ifar=0;
            rfld=0.;
            ipd=0;
            iavp=0;
            m_rp_normalization=0;
            m_rp_output_format=0;
            nth=91;
            nph=1;
            thets=0.0;
            phis=0.0;
            dth=1.0;
            dph=0.0;
      
            if ( itmp1 == 2)
                  phis=90.0;
      
            if ( itmp1 == 3)
            {
                  nph=2;
                  dph=90.0;
            }
      } /* if ( itmp1 == 0) */
      
      simulate(true);
}


Generated by  Doxygen 1.6.0   Back to index