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

void nec_context::cp_card ( int  itmp1,
int  itmp2,
int  itmp3,
int  itmp4 
)

"cp" card, maximum coupling between antennas

Definition at line 926 of file nec_context.cpp.

References safe_array< T >::resize().

{
      if ( iflow != 2)
      {
            ncoup=0;
            nctag.resize(0);
            ncseg.resize(0);
            y11a.resize(0);
            y12a.resize(0);
      }

      icoup=0;
      iflow=2;

      if ( itmp2 == 0)
            return; /* continue card input loop */

      ncoup++;
      nctag.resize(ncoup);
      ncseg.resize(ncoup);
      nctag[ncoup-1]= itmp1;
      ncseg[ncoup-1]= itmp2;

      if ( itmp4 == 0)
            return; /* continue card input loop */

      ncoup++;
      nctag.resize(ncoup);
      ncseg.resize(ncoup);
      nctag[ncoup-1]= itmp3;
      ncseg[ncoup-1]= itmp4;
}


Generated by  Doxygen 1.6.0   Back to index