Home › Forums › FDTD › About Drawing nanorods › Reply To: About Drawing nanorods
July 7, 2014 at 9:59 am
#12274
Hi Zhong,
There is a bit of added complexity here with the multiple objects, but a simple trigonometric calculation can locate the center points for your spheres. In this case, the center offset could be calculated as (sin(30)*lengthCyl/2).
Since you are already using user variables you could automate this process, and automatically calculate the center points for multiple angles.
Regards,
Damian
Categories
- All
-
Knowledge
Contains a detailed Q&A knowledge base. -
General
All non-technical questions. -
System
Optical system design and analysis. -
Instrument
Communicate and control different kinds of instruments. -
SPICE
Opto-electronic circuit design. -
FDTD
Finite-Difference Time-Domain simulation. -
BPM
Beam Propagation Method analysis and design. -
Grating
Fiber optic grating simulation. -
Fiber
Optical fiber design and characterization. -
Exchange
Users can exchange design files.
(Matlab, C++, etc.)