-
-
July 4, 2023 at 12:58 pm
xudong Zhang
SubscriberBefore 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 pm
Guilin Sun
Ansys EmployeeThis is duplicated with another one.
-
July 5, 2023 at 1:48 am
xudong Zhang
Subscriberyep
-
-
Viewing 1 reply thread
- The topic ‘Questions about user custom material plugins’ is closed to new replies.
Ansys Innovation Space
Trending discussions
Top Contributors
-
3034
-
971
-
858
-
851
-
792
Top Rated Tags
© 2025 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.