Made constructor explicit, improve comment.

This commit is contained in:
Atgeirr Flø Rasmussen
2012-10-29 12:56:04 +01:00
parent 319fb8df50
commit 3288c7d505
2 changed files with 2 additions and 1 deletions

View File

@@ -190,6 +190,7 @@ namespace Opm
}
/// Set up fluxes for interpolation.
/// Computes the corner velocities.
/// \param[in] flux One signed flux per face in the grid.
void VelocityInterpolationECVI::setupFluxes(const double* flux)
{

View File

@@ -92,7 +92,7 @@ namespace Opm
public:
/// Constructor.
/// \param[in] grid A grid.
VelocityInterpolationECVI(const UnstructuredGrid& grid);
explicit VelocityInterpolationECVI(const UnstructuredGrid& grid);
/// Set up fluxes for interpolation.
/// \param[in] flux One signed flux per face in the grid.