Skip to content

Commit

Permalink
Add XYInhom to model registry.
Browse files Browse the repository at this point in the history
  • Loading branch information
f-koehler committed Sep 7, 2022
1 parent b4b8e20 commit 477f32f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mpskit/models/registry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 7,7 @@
#include "spin_half/1d/ising_lr_1d.hpp"
#include "spin_half/1d/transverse_ising_1d.hpp"
#include "spin_half/1d/vitagliano_2010.hpp"
#include "spin_half/1d/xy_inhom.hpp"
#include "spin_half/1d/xy_spin_glass_1d.hpp"
#include "spin_half/2d/ising_lr_square.hpp"
#include "spin_half/2d/transverse_ising_square.hpp"
Expand Down Expand Up @@ -38,6 39,10 @@ auto createModel(const json &js) -> std::shared_ptr<Model>
{
model = new XYSpinGlass1D(js);
}
else if (name == "XYInhom1D")
{
model = new XYInhom(js);
}
else if (name == "TransverseIsingSquare")
{
model = new TransverseIsingSquare(js);
Expand Down

0 comments on commit 477f32f

Please sign in to comment.