<commit_before>/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */


package etomica.models.water;

import etomica.space.Space;
import etomica.units.Electron;
import etomica.units.Kelvin;

/** 
 * SPC potential for water.  All the real work is done in P2Water3P.
 */
public class P2WaterSPC extends P2Water3P {

    public P2WaterSPC(Space space) {
        super(space, 3.1670, Kelvin.UNIT.toSim(78.23), 
                Electron.UNIT.toSim(-0.82), Electron.UNIT.toSim(0.41));
    }

    private static final long serialVersionUID = 1L;
}<commit_msg>make parameters into static fields<commit_after>/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */


package etomica.models.water;

import etomica.space.Space;
import etomica.units.Electron;
import etomica.units.Kelvin;

/**
 * SPC potential for water.  All the real work is done in P2Water3P.
 */
public class P2WaterSPC extends P2Water3P {

    public static final double sigmaOO = 3.1670;
    public static final double epsilonOO = Kelvin.UNIT.toSim(78.23);
    public static final double chargeO = Electron.UNIT.toSim(-0.82);
    public static final double chargeH = Electron.UNIT.toSim(0.41);

    public P2WaterSPC(Space space) {
        super(space, sigmaOO, epsilonOO, chargeO, chargeH);
    }
}
{'fraction_non_alphanumeric': 0.1, 'fraction_numerical': 0.032692307692307694, 'mean_word_length': 3.3603351955307263, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6271353', 'n_tokens_mistral': 542, 'n_tokens_neox': 501, 'n_words': 170}