Skip to content

Commit b9c2dda

Browse files
committed
clean unused
1 parent 6b65fdc commit b9c2dda

2 files changed

Lines changed: 0 additions & 34 deletions

File tree

Cell2Fire/Cell2Fire.cpp

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -2217,37 +2217,6 @@ Cell2Fire::Step(boost::random::mt19937 generator, int ep)
22172217
}
22182218
}
22192219

2220-
void
2221-
Cell2Fire::InitHarvested()
2222-
{
2223-
std::cout << "OK";
2224-
}
2225-
2226-
/**
2227-
* @brief Retrieves the Rate of Spread (ROS) matrix for all cells.
2228-
*
2229-
* @return A vector of floats representing the ROS values for each cell.
2230-
*/
2231-
std::vector<float>
2232-
Cell2Fire::getROSMatrix()
2233-
{
2234-
std::vector<float> ROSMatrix(this->nCells, 0);
2235-
return ROSMatrix;
2236-
}
2237-
2238-
/**
2239-
* @brief Retrieves the Fire Progress matrix for all cells.
2240-
*
2241-
* @return A vector of floats representing the fire progress values for each
2242-
* cell.
2243-
*/
2244-
std::vector<float>
2245-
Cell2Fire::getFireProgressMatrix()
2246-
{
2247-
std::vector<float> ProgressMatrix(this->nCells, 0);
2248-
return ProgressMatrix;
2249-
}
2250-
22512220
void
22522221
Cell2Fire::chooseWeather(const string& weatherOpt, int rnumber, int simExt)
22532222
{

Cell2Fire/Cell2Fire.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,8 @@ class Cell2Fire
142142
void outputGrid();
143143
void updateWeather();
144144
void Step(boost::random::mt19937 generator, int ep);
145-
void InitHarvested();
146145

147146
// Utils
148-
std::vector<float> getROSMatrix();
149-
std::vector<float> getFireProgressMatrix();
150147
void chooseWeather(const string& weatherOpt, int rnumber, int simExt);
151148
int totalFirePeriods;
152149
};

0 commit comments

Comments
 (0)