<commit_before>#ifndef GeFiCa_TRUECOAXIAL1D_H
#define GeFiCa_TRUECOAXIAL1D_H

#include "Rho.h"

namespace GeFiCa { class TrueCoaxial1D; }

class GeFiCa::TrueCoaxial1D : public GeFiCa::Rho
{
   public :
      double OuterRadius; // Outer radius of the detector
      double InnerRadius; // Inner radius of the detector

   public :
      TrueCoaxial1D(int nx=50) : Rho(nx),OuterRadius(3),InnerRadius(0.5) {};
      void Initialize();
      bool CalculateField(EMethod method=kSOR2);
      ClassDef(TrueCoaxial1D, 1);

   protected:
      /**
       * Analytic calculation of 1D field in cylindrical coordinates with fixed
       * impurity concentration.
       *
       * In case of fixed impurity, according to
       * https://www.wolframalpha.com/input/?i=1%2Fx*+%28x*f%28x%29%27%29%27%3Da
       * potential(r)=a + b log(r) - rho/4/epsilon*r^2 with boundary conditions:
       *
       * - potential(rinner) = Vneg,<commit_msg>updated comments<commit_after>#ifndef GeFiCa_TRUECOAXIAL1D_H
#define GeFiCa_TRUECOAXIAL1D_H

#include "Rho.h"

namespace GeFiCa { class TrueCoaxial1D; }

class GeFiCa::TrueCoaxial1D : public GeFiCa::Rho
{
   public :
      double OuterRadius; // Outer radius of the detector
      double InnerRadius; // Inner radius of the detector

   public :
      TrueCoaxial1D(int nx=50) : Rho(nx),OuterRadius(3),InnerRadius(0.5) {};
      /**
       * Initialize grid points.
       * The step length is calculated with the following equation:
       *      double stepLength=(OuterRadius-InnerRadius)/(n-1);
       * If the inner radius is not larger than the outer radius, no grid will
       * be created.
       */
      void Initialize();
      bool CalculateField(EMethod method=kSOR2);
      ClassDef(TrueCoaxial1D, 1);

   protected:
      /**
       * Analytic calculation of 1D field in cylindrical coordinates with fixed
       * impurity concentration.
       *
       * In case of fixed impurity, according to
       * https://www.wolframalpha.com/input/?i=1%2Fx*+%28x*f%28x%29%27%29%27%3Da
       * potential(r)=a + b log(r) - rho/4/epsilon*r^2 with boundary conditions:
       *
       * - potential(rinner) = Vneg,
{'fraction_non_alphanumeric': 0.10739191073919108, 'fraction_numerical': 0.029288702928870293, 'mean_word_length': 2.96316758747698, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '617077', 'n_tokens_mistral': 764, 'n_tokens_neox': 708, 'n_words': 170}