As far as I understood the source, the 'stride' represents how much
bytes in the computer memory shall be skipped to get to the voxel in
the neighboring row.
More readable, but perhaps less efficient, implementation would be to
address the voxels as a 2-D or 3-D array.
Is this correct?
Filip

2015-03-26 17:53 GMT+01:00, Alex <[email protected]>:
> Dear Meep users and developers.
> I'm trying to understand Meep sources. So, what means "stride"? Why
> project needs additional source file "step_generic_stride1.cpp"
> (automatically generated)?
>
> Sorry if answers of this questions are obvious. English and C++ is not
> my native languages.
>
> Best regards, Alex Friman
> LPI RAS
>
> _______________________________________________
> meep-discuss mailing list
> [email protected]
> http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss
>

_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to