-
-
July 4, 2023 at 12:58 pmxudong ZhangSubscriberBefore referring to the header file (StepIndex. h) and (stepIndex. cpp) of the official stepindex material plug-in, I compiled a dielectric material with dielectric constant change over time , but recently I need to change the relative permeability(not over time) on this basis. Using the original material header file can not achieve the result I want.At present, it seemed that the problem is about the class in the header file, I wonder if there is an official person who can contact to discuss how to deal with this problem, or is Lumerical not able to implement this method?ÂThe picture here always reminds me that it is not available, and I do not know how to solve it, but I can only attach a description of the two types of code.ÂÂÂÂclass MaterialPluginFactory : public IMaterialPluginFactory{  IMaterialPlugin* createInstance(){return new T(); }  void destroyInstance(IMaterialPlugin* i){delete i; }  IMagneticMaterialPlugin* toMagneticMaterialPlugin(IMaterialPlugin* p){return dynamic_cast
(p); } }; -
July 4, 2023 at 7:01 pmGuilin SunAnsys Employee
This is duplicated with another one.
-
July 5, 2023 at 1:48 amxudong ZhangSubscriber
yep
-
-
Viewing 1 reply thread
- The topic ‘Questions about user custom material plugins’ is closed to new replies.
Ansys Innovation Space
Trending discussions
- Difference between answers in version 2024 and 2017 lumerical mode solution
- Errors Running Ring Modulator Example on Cluster
- INTERCONNECT – No results unless rerun simulation until it gives any
- Import material .txt file with script
- Help for qINTERCONNECT
- Trapezoidal ring
- Issues with getting result from interconnent analysis script
- Topology Optimization Error
- Edge Coupler EME Example Issue
- How to measure transmission coefficients on a given plane .
Top Contributors
-
1236
-
543
-
523
-
225
-
209
Top Rated Tags
© 2024 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.