Bahar Mzn
Newbie level 1
Hi there,
I am encountering an error which is basically driving me crazy. I would like to solve for the optical modes in a simple rectangular waveguide. But it gives me the following error:
+++++++++++ TDR COORDINATE SYSTEM ERROR +++++++++++++
The coordinate system was not specified for the grid.
Remedy: Call Tdr_geometry::set_coordinate_system() or
Tdr_geometry::set_coordinate_convention_sprocess().
Example 1: Use default (DFISE), specify dimension:
Tdr_coord_sys cs(2); // Default 2D system (DFISE)
g->set_coordinate_system(cs);
Example 2: Use convenience function for sprocess csy:
g->set_coordinate_convention_sprocess();
Example 3: Use special purpose coordinate system:
Tdr_coord_sys cs(Tdr_coord_sys::cs_2d_y_up);
g->set_coordinate_system(cs);
++++++++++ TDR ERROR ++++++++++ TDR ERROR +++++++++++
Please help me out here.
Best,
Farnaz
I am encountering an error which is basically driving me crazy. I would like to solve for the optical modes in a simple rectangular waveguide. But it gives me the following error:
+++++++++++ TDR COORDINATE SYSTEM ERROR +++++++++++++
The coordinate system was not specified for the grid.
Remedy: Call Tdr_geometry::set_coordinate_system() or
Tdr_geometry::set_coordinate_convention_sprocess().
Example 1: Use default (DFISE), specify dimension:
Tdr_coord_sys cs(2); // Default 2D system (DFISE)
g->set_coordinate_system(cs);
Example 2: Use convenience function for sprocess csy:
g->set_coordinate_convention_sprocess();
Example 3: Use special purpose coordinate system:
Tdr_coord_sys cs(Tdr_coord_sys::cs_2d_y_up);
g->set_coordinate_system(cs);
++++++++++ TDR ERROR ++++++++++ TDR ERROR +++++++++++
Please help me out here.
Best,
Farnaz