40 METHOD(compute_initial, compute_initial,
u8"Perform the initial computation");
41 METHOD(compute_threshold, compute_threshold,
u8"Perform the threshold computation");
42 METHOD(compute_overthreshold, compute_overthreshold,
u8"Perform the overthreshold computation");
43 solver.def_readwrite(
"initial", &__Class__::do_initial,
u8"True if we start from initial computations");
44 solver.def_readwrite(
"fem_method", &__Class__::fem_method,
u8"Finite-element method (linear of parabolic)");
46 solver.def_readwrite(
"accuracy", &__Class__::relative_accuracy,
u8"Required relative accuracy");
47 solver.def_readwrite(
"abs_accuracy", &__Class__::minor_concentration,
u8"Required absolute minimal concentration accuracy");
48 solver.def_readwrite(
"interpolation", &__Class__::interpolation_method,
u8"Interpolation method used for injection current");
49 solver.def_readwrite(
"maxrefines", &__Class__::max_mesh_changes,
u8"Maximum number of allowed mesh refinements");
50 solver.def_readwrite(
"maxiters", &__Class__::max_iterations,
u8"Maximum number of allowed iterations before attempting to refine mesh");
54 RECEIVER(inWavelength,
u8"It is required only for the overthreshold computations.");
55 RECEIVER(inLightE,
u8"It is required only for the overthreshold computations.");
58 solver.def_readonly(
"mode_burns", &__Class__::modesP,
u8"Power burned over threshold by each mode (mW).");
64 py::scope
scope = solver;
68 .value(
"LINEAR", __Class__::FEM_LINEAR)
69 .value(
"PARABOLIC", __Class__::FEM_PARABOLIC)
73 .value(
"INITIAL", __Class__::COMPUTATION_INITIAL)
74 .value(
"THRESHOLD", __Class__::COMPUTATION_THRESHOLD)
75 .value(
"OVERTHRESHOLD", __Class__::COMPUTATION_OVERTHRESHOLD)
81 METHOD(compute_initial, compute_initial,
u8"Perform the initial computation");
82 METHOD(compute_threshold, compute_threshold,
u8"Perform the threshold computation");
83 METHOD(compute_overthreshold, compute_overthreshold,
u8"Perform the overthreshold computation");
84 solver.def_readwrite(
"initial", &__Class__::do_initial,
u8"True if we start from initial computations");
85 solver.def_readwrite(
"fem_method", &__Class__::fem_method,
u8"Finite-element method (linear of parabolic)");
87 solver.def_readwrite(
"accuracy", &__Class__::relative_accuracy,
u8"Required relative accuracy");
88 solver.def_readwrite(
"abs_accuracy", &__Class__::minor_concentration,
u8"Required absolute minimal concentration accuracy");
89 solver.def_readwrite(
"interpolation", &__Class__::interpolation_method,
u8"Interpolation method used for injection current");
90 solver.def_readwrite(
"maxrefines", &__Class__::max_mesh_changes,
u8"Maximum number of allowed mesh refinements");
91 solver.def_readwrite(
"maxiters", &__Class__::max_iterations,
u8"Maximum number of allowed iterations before attempting to refine mesh");
94 RECEIVER(inGain,
u8"It is required only for the overthreshold computations.");
95 RECEIVER(inLightE,
u8"It is required only for the overthreshold computations.");
98 solver.def_readonly(
"mode_burns", &__Class__::modesP,
u8"Power burned over threshold by each mode (mW).");
104 py::scope
scope = solver;
108 .value(
"LINEAR", __Class__::FEM_LINEAR)
109 .value(
"PARABOLIC", __Class__::FEM_PARABOLIC)
113 .value(
"INITIAL", __Class__::COMPUTATION_INITIAL)
114 .value(
"THRESHOLD", __Class__::COMPUTATION_THRESHOLD)
115 .value(
"OVERTHRESHOLD", __Class__::COMPUTATION_OVERTHRESHOLD)