barakhirshberg / molecularsimulations Goto Github PK
View Code? Open in Web Editor NEWCourse notes for Molecular Simulations 0351-4057, Tel Aviv University
License: GNU General Public License v3.0
Course notes for Molecular Simulations 0351-4057, Tel Aviv University
License: GNU General Public License v3.0
In the init description of Simulation class parameters, the kinetic energy K is described as an array instead of a float.
K : numpy.ndarray, optional
Kinetic energy. The default is None.
should be:
K : float, optional
Kinetic energy. The default is None.
As referenced in the documentation, 'mass' property of the main class simulation is an np.ndarray with shape (Natoms, 1).
However, when no R is assigned, the class sets the default property of mass to be a scalar instead of an np.ndarray of the same value.
Current code: self.mass = 1.6735575E-27 #H mass in kg as default
It should be self.mass=np.array([1.6735575E-27]).
evaluateForce() should be evalForce().
If one wants to use the output files within the scope of running the simulation they must remember to flush the file before reading from it:
self.file.flush
Due to recent misunderstandings, a clarification on the usage of kwargs would be beneficial.
Add a warning to apply boundary condition right before each calculation of the force.
self.E is being referenced without being defined.
Hey Barak,
I'm going through the course notes to refresh my memory, in my opinion, in the solution of the last active learning, you should add a further explanation why the expression in the bracket (line 2) is reduce to line 3. specifically I think you should add why the first term (left term in the bracket) is equal to zero.
The link to github in the header leads to https://github.com/BarakHirshberg/book, which is broken
MolecularSimulations/NumProjI.ipynb
Line 53 in 35eac30
you cal -> you can
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.