3_PowerRadiated/measuredPowerLienardWiechert/measuredPowerLienardWiechert.c
//calculate vector between field point and the moving electron position:
calculate vector between field point and the moving electron position.
calculate vector between field point and the moving electron position .
void calculateVec(double *fieldPoint, double *electronPos, double *vector) {
  vector[0] = fieldPoint[0] - electronPos[0];
  vector[1] = fieldPoint[1] - electronPos[1];
  vector[2] = fieldPoint[2] - electronPos[2];
}
void calculateVec ( double * fieldPoint , double * electronPos , double * vector ) { vector [ 0 ] = fieldPoint [ 0 ] - electronPos [ 0 ] ; vector [ 1 ] = fieldPoint [ 1 ] - electronPos [ 1 ] ; vector [ 2 ] = fieldPoint [ 2 ] - electronPos [ 2 ] ; }
calculate vector between field point and the moving electron position:
calculate vector between field point and the moving electron position :