mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Changed std::tr1 occurences to boost.
std::tr1 might not be supported by all compilers and will eventually be dropped by others. Using boost instead makes this more portable.
This commit is contained in:
parent
616a92cf80
commit
7ede9ec88a
@ -264,7 +264,7 @@ int main ()
|
|||||||
/// what the interface expects. The first argument is the (unique) name of the group.
|
/// what the interface expects. The first argument is the (unique) name of the group.
|
||||||
/// \snippet tutorial4.cpp injection specification
|
/// \snippet tutorial4.cpp injection specification
|
||||||
/// \internal[injection specification]
|
/// \internal[injection specification]
|
||||||
std::tr1::shared_ptr<WellsGroupInterface> well_group(new WellsGroup("group", well_group_prod_spec, InjectionSpecification(),
|
boost::shared_ptr<WellsGroupInterface> well_group(new WellsGroup("group", well_group_prod_spec, InjectionSpecification(),
|
||||||
phase_usage));
|
phase_usage));
|
||||||
/// \internal[injection specification]
|
/// \internal[injection specification]
|
||||||
/// \endinternal
|
/// \endinternal
|
||||||
@ -289,7 +289,7 @@ int main ()
|
|||||||
well_name << "well" << i;
|
well_name << "well" << i;
|
||||||
ProductionSpecification production_specification;
|
ProductionSpecification production_specification;
|
||||||
production_specification.control_mode_ = ProductionSpecification::GRUP;
|
production_specification.control_mode_ = ProductionSpecification::GRUP;
|
||||||
std::tr1::shared_ptr<WellsGroupInterface> well_leaf_node(new WellNode(well_name.str(), production_specification, InjectionSpecification(),
|
boost::shared_ptr<WellsGroupInterface> well_leaf_node(new WellNode(well_name.str(), production_specification, InjectionSpecification(),
|
||||||
phase_usage));
|
phase_usage));
|
||||||
well_collection.addChild(well_leaf_node, "group");
|
well_collection.addChild(well_leaf_node, "group");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user