Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
robertodr committed Nov 28, 2023
1 parent 53fc488 commit f03eae1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
17 changes: 6 additions & 11 deletions python/mrchem/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,11 @@

import math

from .helpers import (
write_scf_fock,
write_scf_guess,
write_scf_solver,
write_scf_properties,
write_scf_plot,
write_rsp_calc,
parse_wf_method,
)
from .periodictable import PeriodicTable as PT, PeriodicTableByZ as PT_Z
from .helpers import (parse_wf_method, write_rsp_calc, write_scf_fock,
write_scf_guess, write_scf_plot, write_scf_properties,
write_scf_solver)
from .periodictable import PeriodicTable as PT
from .periodictable import PeriodicTableByZ as PT_Z
from .validators import MoleculeValidator


Expand Down Expand Up @@ -127,7 +122,7 @@ def write_molecule(user_dict, origin):
"charge": mol.charge,
"coords": mol.get_coords_in_program_syntax(),
}

if "pcm" in user_dict["WaveFunction"]["environment"].lower():
mol_dict["cavity"] = {
"spheres": mol.get_cavity_in_program_syntax(),
Expand Down
4 changes: 2 additions & 2 deletions src/qmoperators/two_electron/ReactionPotential.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@

#pragma once

#include "qmoperators/QMPotential.h"
#include "environment/GPESolver.h"
#include "qmoperators/QMPotential.h"

namespace mrchem {
/** @class ReactionPotential
Expand Down Expand Up @@ -56,7 +56,7 @@ class ReactionPotential : public QMPotential {
friend class ReactionOperator;

protected:
std::unique_ptr<GPESolver> solver; //!< A GPESolver instance used to compute the ReactionPotential.
std::unique_ptr<GPESolver> solver; //!< A GPESolver instance used to compute the ReactionPotential.
std::shared_ptr<OrbitalVector> orbitals; ///< Unperturbed orbitals defining the ground-state electron density for the SCRF procedure.

void setup(double prec) override;
Expand Down

0 comments on commit f03eae1

Please sign in to comment.