Skip to content

Commit

Permalink
add AtomisticQoIs dependency to extension
Browse files Browse the repository at this point in the history
  • Loading branch information
joannajzou committed Apr 19, 2024
1 parent d06aee7 commit 109c87c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions ext/CairnPlots.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module CairnPlots

using Cairn
using Molly
using AtomisticQoIs
using CairoMakie

# TODO: remove this once everything works!
Expand Down
5 changes: 3 additions & 2 deletions ext/makie/plot_contours.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Molly
using AtomisticQoIs
export plot_contours_2D

function potential_grid_points(
Expand Down Expand Up @@ -189,7 +190,7 @@ function plot_density(
inter::PolynomialChaos,
xcoords::Vector,
ycoords::Vector,
normint::Integrator;
normint::AtomisticQoIs.Integrator;
kB=1.0u"kJ * K^-1 * mol^-1", # Maxwell-Boltzmann constant
temp=1.0u"K", # temperature
fill::Bool=false,
Expand All @@ -208,7 +209,7 @@ function plot_density(
inter::GeneralInteraction,
xcoords::Vector,
ycoords::Vector,
normint::Integrator;
normint::AtomisticQoIs.Integrator;
kB=1.0u"kJ * K^-1 * mol^-1", # Maxwell-Boltzmann constant
temp=1.0u"K", # temperature
fill::Bool=false,
Expand Down

0 comments on commit 109c87c

Please sign in to comment.