Lorenzo Pattelli

Results 13 comments of Lorenzo Pattelli

Jan Schäfer's MatScat [https://it.mathworks.com/matlabcentral/fileexchange/36831-matscat](url) might be a good starting point to implement stratified (i.e. concentric) spheres into CELES

I see your point, and I'm afraid it applies to a bunch of other properties as well. Probably, the intended way to go would be to implement a protected `processTunedPropertiesImpl`...

maybe adding something like this would work? ``` function processTunedPropertiesImpl(obj) propChange = isChangedProperty(obj,'polarization') || isChangedProperty(obj,'polarAngle'); if propChange validatePropertiesImpl(obj); setupImpl(obj); end end ```

yes, I believe the change you proposed would work. I was just thinking of what would be a general approach to follow, since it is likely that we will find...

I might be wrong, but I think I've removed every single `set` method from celes, and replaced everything with the Property-Value style where all properties are set at construction time...

I would avoid `get` methods as much as possible to avoid redundant calculations (I remember that functions like `get.number`, `get.omega` and `get.nmax` would be called hundreds of times per each...

Yes, everything is now subclassed from the matlab.System superclass in order to implement a property-value input and one-time calculations inside setupImpl. The constructor calls the one-time methods, which in turn...

I think that one of the goals we could pursue by saving/loading simulations could be to save the simulation inside tempdir with a tempname every ~10 iterations, so that we...

my attempts so far (on the fix-GUI branch) failed. The simulation runs, but I'm still getting errors from the GUI. I'm not sure if the approach I'm following for #12...

I've never used the GUI so far so I'm not sure I'm even launching it correctly. Am I just supposed to double-click on the .mlapp file? If so, then the...