Skip to content

Commit

Permalink
Identifier names consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
Amphiluke committed May 23, 2017
1 parent 7fdad8c commit cacaa97
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ The `LennardJones` class instance represents the Lennard-Jones potential with th
You may instantiate the LennardJones class as follows:

```javascript
let lj = new potprox.LennardJones({epsilon: 0.041, sigma: 4.5});
let lennardjones = new potprox.LennardJones({epsilon: 0.041, sigma: 4.5});
```

### The `potprox.Buckingham` class
Expand Down Expand Up @@ -152,7 +152,7 @@ The *static* method `from` creates an instance of the specific class with potent
Calculates the value of the potential for the given interatomic distance.

```javascript
let lj = new potprox.LennardJones({epsilon: 0.041, sigma: 4.5});
let lennardjones = new potprox.LennardJones({epsilon: 0.041, sigma: 4.5});
console.log(lj.at(6.0)); // => -0.02399355483055115
let buckingham = new potprox.Buckingham({d0: 0.0360, r0: 5.298, a: 4.332});
Expand All @@ -170,7 +170,7 @@ console.log(rydberg.at(6.0)); // => -0.030035419908893232
Returns an object containing the potential parameters.

```javascript
let lj = new potprox.LennardJones({epsilon: 0.041, sigma: 4.5});
let lennardjones = new potprox.LennardJones({epsilon: 0.041, sigma: 4.5});
console.log(lj.toJSON()); // => {epsilon: 0.041, sigma: 4.5}
let buckingham = new potprox.Buckingham({d0: 0.0360, r0: 5.298, a: 4.332});
Expand Down

0 comments on commit cacaa97

Please sign in to comment.