Skip to content

Commit

Permalink
Expanding example
Browse files Browse the repository at this point in the history
  • Loading branch information
ifilot committed Nov 14, 2023
1 parent 47a996f commit 26a4ead
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions examples/blender_render.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@
outpath = os.path.dirname(__file__)

def main():
build_orbitals_co()
build_orbitals_ch4()
build_orbitals_ethylene()
# build_orbitals_co()
# build_orbitals_ch4()
# build_orbitals_ethylene()
build_orbitals_h2o()

def build_orbitals_co():
"""
Expand All @@ -33,6 +34,18 @@ def build_orbitals_co():

build(molname, res, resfb, nrows=2)

def build_orbitals_h2o():
"""
Build a montage image of the canonical and localized molecular orbitals
of H2O
"""
molname = 'H2O'
mol = MoleculeBuilder().from_name('h2o')
res = GeometryOptimization().run(mol, 'sto3g')['data']
resfb = FosterBoys(res).run()

build(molname, res, resfb, nrows=1)

def build_orbitals_ch4():
"""
Build a montage image of the canonical and localized molecular orbitals
Expand Down

0 comments on commit 26a4ead

Please sign in to comment.