Git Product home page Git Product logo

molecularsimulations's People

Contributors

alexlib avatar barakhirshberg avatar eran01 avatar liambern avatar reutsofer avatar sagimeir avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

molecularsimulations's Issues

Kinetic energy should be a float instead of an array

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.

Default type of mass in NumProj1 is scalar- should be np.ndarray

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]).

Reminder to flush files

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

Add warning

Add a warning to apply boundary condition right before each calculation of the force.

Classical mechanics - Hamiltonian mechanics

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.

typo

"You cal also *fork* a repo, which is similar to cloning, but you typically do it when you want to contribute your changes back to the original repo, and not just develop you own version of it.\n",

you cal -> you can

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.