Skip to content

Commit

Permalink
rbf: minor fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardolombardi committed Dec 4, 2023
1 parent 0a9e84e commit 1ae188b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/RBF/rbf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1134,14 +1134,14 @@ int RBFKernel::getPolynomialWeightsCount()
*/
RBFKernel::LinearPolynomial::LinearPolynomial()
{
setDefault();
reset();
}

/*!
* Set to default values the LinearPolynomial class.
* Dimension and number of fields set to zero.
*/
void RBFKernel::LinearPolynomial::setDefault()
void RBFKernel::LinearPolynomial::reset()
{
m_dim = 0;
m_fields = 0;
Expand Down
6 changes: 3 additions & 3 deletions src/RBF/rbf.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
#ifndef __BITPIT_RBF_HPP__
#define __BITPIT_RBF_HPP__

#include <vector>
#include "bitpit_discretization.hpp"
#include <array>
#include <set>
#include "reconstruction.hpp"
#include <vector>

namespace bitpit{

Expand Down Expand Up @@ -82,7 +82,7 @@ class RBFKernel{

public:
LinearPolynomial();
void setDefault();
void reset();
void clear();
void setDimension(int dim);
void setDataCount(int fields);
Expand Down

0 comments on commit 1ae188b

Please sign in to comment.