void setElectricField(af::array e)
	{
		this->electric_field = e.as(ctype);
	}
	void setMask(af::array mask)
	{
		this->mask = mask.as(ctype);
	}