Skip to content

Commit

Permalink
fmt: clang-format libcubeprop
Browse files Browse the repository at this point in the history
  • Loading branch information
andysim committed Aug 31, 2018
1 parent b96953a commit 6c37500
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions psi4/src/psi4/libcubeprop/csg.cc
Expand Up @@ -286,7 +286,8 @@ void CubicScalarGrid::write_cube_file(double* v, const std::string& name, const

// Atoms of molecule (Z, Q?, x, y, z)
for (int A = 0; A < mol_->natom(); A++) {
fprintf(fh, "%3d %10.6f %10.6f %10.6f %10.6f\n", (int)mol_->true_atomic_number(A), 0.0, mol_->x(A), mol_->y(A), mol_->z(A));
fprintf(fh, "%3d %10.6f %10.6f %10.6f %10.6f\n", (int)mol_->true_atomic_number(A), 0.0, mol_->x(A), mol_->y(A),
mol_->z(A));
}

// Data, striped (x, y, z)
Expand Down Expand Up @@ -695,4 +696,4 @@ std::pair<double, double> CubicScalarGrid::compute_isocontour_range(double* v2,
}
return std::make_pair(positive_isocontour, negative_isocontour);
}
}
} // namespace psi
2 changes: 1 addition & 1 deletion psi4/src/psi4/libcubeprop/csg.h
Expand Up @@ -191,6 +191,6 @@ class CubicScalarGrid {
std::pair<double, double> compute_isocontour_range(double* v2, double exponent);
};

} // End namespace
} // namespace psi

#endif
2 changes: 1 addition & 1 deletion psi4/src/psi4/libcubeprop/cubeprop.cc
Expand Up @@ -193,4 +193,4 @@ void CubeProperties::compute_basis_functions(const std::vector<int>& indices, co
}
void CubeProperties::compute_LOL(std::shared_ptr<Matrix> D, const std::string& key) { grid_->compute_LOL(D, key); }
void CubeProperties::compute_ELF(std::shared_ptr<Matrix> D, const std::string& key) { grid_->compute_ELF(D, key); }
}
} // namespace psi
2 changes: 1 addition & 1 deletion psi4/src/psi4/libcubeprop/cubeprop.h
Expand Up @@ -110,6 +110,6 @@ class PSI_API CubeProperties {
/// Returns Orbital Basis Set
std::shared_ptr<BasisSet> basisset() { return basisset_; }
};
}
} // namespace psi

#endif

0 comments on commit 6c37500

Please sign in to comment.