InverseLight / ValoMC

Monte Carlo software for simulating light propagation
https://inverselight.github.io/ValoMC/
Other
43 stars 14 forks source link

example compute error? :Simulating the photoacoustic effect using k-Wave: kwavetest.m #19

Open Tian-YS opened 2 years ago

Tian-YS commented 2 years ago

% Compute the absorbed optical energy density. % multiply by % 1e6 to convert [J/mm^2] to [J/m^2] % 1e-3 to set the total energy in the pulse to 1 mJ % vmcmedium.absorbed_energy = vmcmedium.absorption_coefficient . solution.grid_fluence1e3; % [J/m3]

as above code, we have: 1e6--->J/m^2 and then *1e-3 mJ/m^2 ? so absorbed_energy should be mJ/m3 ?