Hello, all of the experts,
I have finished the simulation using the gpuArray types of Datacast to accelerate the speed of the simulation.
I now struggle to perform the time-reversal reconstruction to fabricate an acoustic hologram.
However, the stimulated (or numerically acquired) values of sensor_data can not be directly inserted in the sensor.time_reversal_boundary_data since the casting data is gpuArray (4D).
Here is the basic procedure to perform time-reversal reconstruction as everyone can find elsewhere in the codes relevant to the TR:
I first stated clearvars to remove the initial source pressure: source.p = 0;
And then the value of acquired sensor_data is directly inserted into the sensor.time_reversal_boundary_data: sensor.time_reversal_boundary_data = sensor_data;
I wonder whether the measured value of sensor_data that is types of GPUarray can be directly inserted into the sensor.time_reversal_boudnary_data. If we can not, could you suggest the appropriate approaches to insert the values into the matrix? Thank you for your help in advance :).