<commit_before>#ifndef MJOLNIR_GLOBAL_PAIR_LENNARD_JONES_INTEARACTION
#define MJOLNIR_GLOBAL_PAIR_LENNARD_JONES_INTEARACTION
#include <mjolnir/interaction/GlobalPairInteraction.hpp>
#include <mjolnir/potential/global/LennardJonesPotential.hpp>
#include <mjolnir/core/SimulatorTraits.hpp>
#include <memory>

namespace mjolnir
{

// specialization for Pair<LennardJones>
template<typename realT, template<typename, typename> class boundaryT,
         typename partitionT, typename ignored_chainT>
class GlobalPairInteraction<
    SimulatorTraits<realT, boundaryT>,
    LennardJonesPotential<realT, ignored_chainT>,
    partitionT
    > final : public GlobalInteractionBase<SimulatorTraits<realT, boundaryT>>
{
  public:
    using traits_type     = SimulatorTraits<realT, boundaryT>;
    using potential_type  = LennardJonesPotential<realT, ignored_chainT>;
    using partition_type  = partitionT;
    using base_type       = GlobalInteractionBase<SimulatorTraits<realT, boundaryT>>;

    using real_type       = typename base_type::real_type;<commit_msg>relax specialization condition for GlobalPair<LennardJones><commit_after>#ifndef MJOLNIR_GLOBAL_PAIR_LENNARD_JONES_INTEARACTION
#define MJOLNIR_GLOBAL_PAIR_LENNARD_JONES_INTEARACTION
#include <mjolnir/interaction/GlobalPairInteraction.hpp>
#include <mjolnir/potential/global/LennardJonesPotential.hpp>
#include <mjolnir/core/SimulatorTraits.hpp>
#include <memory>

namespace mjolnir
{

// specialization for GlobalPair<LennardJones>
template<typename realT,      typename traitsT,
         typename partitionT, typename ignored_chainT>
class GlobalPairInteraction<traitsT,
    LennardJonesPotential<realT, ignored_chainT>, partitionT
    > final : public GlobalInteractionBase<traitsT>
{
  public:
    static_assert(std::is_same<realT, typename traitsT::real_type>::value,
        "LennardJones::real_type and traits::real_type should be the same");

    using traits_type     = traitsT;
    using potential_type  = LennardJonesPotential<realT, ignored_chainT>;
    using partition_type  = partitionT;
    using base_type       = GlobalInteractionBase<traits_type>;

    using real_type       = typename base_type::real_type;
{'fraction_non_alphanumeric': 0.07717041800643087, 'fraction_numerical': 0.0, 'mean_word_length': 5.980769230769231, 'pattern_counts': {'":': 0, '<': 32, '<?xml version=': 0, '>': 32, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7661876', 'n_tokens_mistral': 736, 'n_tokens_neox': 688, 'n_words': 122}