Capitalize nested namespace names.

equil -> Equil
miscibility -> Miscibility
This commit is contained in:
Atgeirr Flø Rasmussen 2014-02-24 15:55:14 +01:00 committed by Andreas Lauser
parent f02270fbdc
commit e2913a178c
2 changed files with 10 additions and 10 deletions

View File

@ -49,7 +49,7 @@ namespace Opm
* This namespace is intentionally nested to avoid name clashes * This namespace is intentionally nested to avoid name clashes
* with other parts of OPM. * with other parts of OPM.
*/ */
namespace equil { namespace Equil {
template <class Props> template <class Props>
class DensityCalculator; class DensityCalculator;
@ -116,7 +116,7 @@ namespace Opm
* Types and routines relating to phase mixing in * Types and routines relating to phase mixing in
* equilibration calculations. * equilibration calculations.
*/ */
namespace miscibility { namespace Miscibility {
/** /**
* Type that implements "no phase mixing" policy. * Type that implements "no phase mixing" policy.
*/ */
@ -258,7 +258,7 @@ namespace Opm
return A_[np*opos + gpos] / A_[np*opos + opos]; return A_[np*opos + gpos] / A_[np*opos + opos];
} }
}; };
} // namespace miscibility } // namespace Miscibility
@ -336,8 +336,8 @@ namespace Opm
* depth and (gas) pressure @c press. * depth and (gas) pressure @c press.
*/ */
template <class DensCalc, template <class DensCalc,
class RS = miscibility::NoMixing, class RS = Miscibility::NoMixing,
class RV = miscibility::NoMixing> class RV = Miscibility::NoMixing>
class EquilReg { class EquilReg {
public: public:
/** /**
@ -825,7 +825,7 @@ namespace Opm
const UnstructuredGrid& G , const UnstructuredGrid& G ,
const double grav) const double grav)
{ {
typedef miscibility::NoMixing NoMix; typedef Miscibility::NoMixing NoMix;
for (typename RMap::RegionId for (typename RMap::RegionId
r = 0, nr = reg.numRegions(); r = 0, nr = reg.numRegions();
@ -863,7 +863,7 @@ namespace Opm
const UnstructuredGrid& G , const UnstructuredGrid& G ,
const double grav) const double grav)
{ {
typedef miscibility::NoMixing NoMix; typedef Miscibility::NoMixing NoMix;
for (typename RMap::RegionId for (typename RMap::RegionId
r = 0, nr = reg.numRegions(); r = 0, nr = reg.numRegions();
@ -908,7 +908,7 @@ namespace Opm
}; };
} // namespace DeckDependent } // namespace DeckDependent
} // namespace equil } // namespace Equil
} // namespace Opm } // namespace Opm
#include <opm/core/simulator/initStateEquil_impl.hpp> #include <opm/core/simulator/initStateEquil_impl.hpp>

View File

@ -485,7 +485,7 @@ namespace Opm
} }
} // namespace Details } // namespace Details
namespace equil { namespace Equil {
template <class Region, template <class Region,
class CellRange> class CellRange>
std::vector< std::vector<double> > std::vector< std::vector<double> >
@ -568,7 +568,7 @@ namespace Opm
return press; return press;
} }
} // namespace equil } // namespace Equil
} // namespace Opm } // namespace Opm
#endif // OPM_INITSTATEEQUIL_IMPL_HEADER_INCLUDED #endif // OPM_INITSTATEEQUIL_IMPL_HEADER_INCLUDED