You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A fully customizable input file will have several features:
A few parameters are documented as necessary. PlasMol will error out if these parameters are missing.
A majority of parameters can be absent from the input file and should default in the code itself. The defaults should be posted in documentation.
A few parameters exist in pairs where only one is necessary and inherently sets the value for the other (i.e. wavelength and frequency). An error should be thrown if both of these are given.
Mid line comments should be accepted.
start simulation
resolution 2000 -- this is a comment, but the resolution should still be read
end simulation
Simple math should be supported for numeric parameters.
start simulation
resolution 4000/2 -- should return 2000
end simulation
Each source type supported by Meep should be supported by PlasMol.
Each object geometry supported by Meep should be supported by PlasMol.
All parameters should be appropriately named. For parameters with two or more words in their name, they should either all be of the form source_type or sourceType.
The driver.py should not have the input file hard coded unless absolutely necessary.
The text was updated successfully, but these errors were encountered:
A fully customizable input file will have several features:
source_type
orsourceType
.driver.py
should not have the input file hard coded unless absolutely necessary.The text was updated successfully, but these errors were encountered: