<commit_before>#include "ElectrocardioIC.h"
#include <math.h>

template<>
InputParameters validParams<ElectrocardioIC>()
{
  InputParameters params = validParams<InitialCondition>();
  return params;
}

ElectrocardioIC::ElectrocardioIC(const std::string & name,
                     InputParameters parameters) :
    InitialCondition(name, parameters)
{
}

ElectrocardioIC::~ElectrocardioIC()
{
}

Real
ElectrocardioIC::value(const Point & p)
{
  /// The value -90.272 is the resting potential of the bernus model for all except one case...
  /// \todo TODO: make this more general: different ion models have different resting potentials
  return -90.272;
}<commit_msg>modified resting potential for bernus model; apparently the ewe implementation does not exactly reproduce the -90.272mV; have to check parameters<commit_after>#include "ElectrocardioIC.h"
#include <math.h>

template<>
InputParameters validParams<ElectrocardioIC>()
{
  InputParameters params = validParams<InitialCondition>();
  return params;
}

ElectrocardioIC::ElectrocardioIC(const std::string & name,
                     InputParameters parameters) :
    InitialCondition(name, parameters)
{
}

ElectrocardioIC::~ElectrocardioIC()
{
}

Real
ElectrocardioIC::value(const Point & p)
{
  /// The value -90.272 is the resting potential of the bernus model for all except one case...
  /// \todo TODO: make this more general: different ion models have different resting potentials
 // return -90.272;
  return -92.189; // for some reason, my Bernus model has a slightly different resting potential.. probably a slighly wrong parameter?
}
{'fraction_non_alphanumeric': 0.09769757311761046, 'fraction_numerical': 0.018668326073428748, 'mean_word_length': 4.395973154362416, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '5363971', 'n_tokens_mistral': 492, 'n_tokens_neox': 455, 'n_words': 148}