@@ -36,15 +36,15 @@ class DisentangledCorrespondenceFunction : public VectorFunction {
3636 argument is the index of the domain within that particle system. The
3737 third argument is the index of the particle location within the given
3838 domain. */
39- virtual VectorType Evaluate (unsigned int , unsigned int , const ParticleSystem*, double &, double &) const ;
40- virtual VectorType Evaluate (unsigned int a, unsigned int b, const ParticleSystem* c, double & d) const {
39+ virtual VectorType evaluate (unsigned int , unsigned int , const ParticleSystem*, double &, double &) const ;
40+ virtual VectorType evaluate (unsigned int a, unsigned int b, const ParticleSystem* c, double & d) const {
4141 double e;
42- return this ->Evaluate (a, b, c, d, e);
42+ return this ->evaluate (a, b, c, d, e);
4343 }
4444
45- virtual double Energy (unsigned int a, unsigned int b, const ParticleSystem* c) const {
45+ virtual double energy (unsigned int a, unsigned int b, const ParticleSystem* c) const {
4646 double e, d;
47- this ->Evaluate (a, b, c, d, e);
47+ this ->evaluate (a, b, c, d, e);
4848 return e;
4949 }
5050
@@ -59,17 +59,17 @@ class DisentangledCorrespondenceFunction : public VectorFunction {
5959 const ShapeMatrixType* GetShapeMatrix () const { return m_ShapeMatrix.GetPointer (); }
6060
6161 /* * Called before each iteration of a solver. */
62- virtual void BeforeIteration () {
63- m_ShapeMatrix->BeforeIteration ();
62+ virtual void before_iteration () {
63+ m_ShapeMatrix->before_iteration ();
6464
6565 if (m_Counter == 0 ) {
6666 this ->ComputeCovarianceMatrices ();
6767 }
6868 }
6969
7070 /* * Called after each iteration of the solver. */
71- virtual void AfterIteration () {
72- m_ShapeMatrix->AfterIteration ();
71+ virtual void after_iteration () override {
72+ m_ShapeMatrix->after_iteration ();
7373 // Update the annealing parameter.
7474 if (m_HoldMinimumVariance != true && !m_UseMeanEnergy) {
7575 m_Counter++;
@@ -93,7 +93,7 @@ class DisentangledCorrespondenceFunction : public VectorFunction {
9393
9494 void PrintShapeMatrix () { m_ShapeMatrix->PrintMatrix (); }
9595
96- void UseMeanEnergy () { m_UseMeanEnergy = true ; }
96+ void UseMeanenergy () { m_UseMeanEnergy = true ; }
9797 void UseEntropy () { m_UseMeanEnergy = false ; }
9898
9999 /* * */
@@ -103,7 +103,7 @@ class DisentangledCorrespondenceFunction : public VectorFunction {
103103 void SetRecomputeCovarianceInterval (int i) { m_RecomputeCovarianceInterval = i; }
104104 int GetRecomputeCovarianceInterval () const { return m_RecomputeCovarianceInterval; }
105105
106- std::shared_ptr<VectorFunction> Clone () override {
106+ std::shared_ptr<VectorFunction> clone () override {
107107 auto copy = DisentangledCorrespondenceFunction::New ();
108108
109109 copy->m_Shape_PointsUpdate = this ->m_Shape_PointsUpdate ;
@@ -118,8 +118,8 @@ class DisentangledCorrespondenceFunction : public VectorFunction {
118118 copy->m_RecomputeCovarianceInterval = this ->m_RecomputeCovarianceInterval ;
119119 copy->m_Counter = m_Counter;
120120
121- copy->m_DomainNumber = this ->m_DomainNumber ;
122- copy->m_ParticleSystem = this ->m_ParticleSystem ;
121+ copy->domain_number_ = this ->domain_number_ ;
122+ copy->particle_system_ = this ->particle_system_ ;
123123 copy->m_ShapeMatrix = this ->m_ShapeMatrix ;
124124
125125
0 commit comments