mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Improve formatting.
This commit is contained in:
parent
263642a98e
commit
b8238927da
@ -10,9 +10,11 @@
|
|||||||
namespace Opm
|
namespace Opm
|
||||||
{
|
{
|
||||||
|
|
||||||
WellsGroupInterface::WellsGroupInterface(const std::string& name, ProductionSpecification prod_spec,
|
WellsGroupInterface::WellsGroupInterface(const std::string& name,
|
||||||
|
ProductionSpecification prod_spec,
|
||||||
InjectionSpecification inje_spec)
|
InjectionSpecification inje_spec)
|
||||||
: name_(name), production_specification_(prod_spec),
|
: name_(name),
|
||||||
|
production_specification_(prod_spec),
|
||||||
injection_specification_(inje_spec)
|
injection_specification_(inje_spec)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@ -26,13 +28,15 @@ namespace Opm
|
|||||||
return name_;
|
return name_;
|
||||||
}
|
}
|
||||||
|
|
||||||
WellsGroup::WellsGroup(const std::string& name, ProductionSpecification prod_spec,
|
WellsGroup::WellsGroup(const std::string& name,
|
||||||
|
ProductionSpecification prod_spec,
|
||||||
InjectionSpecification inj_spec)
|
InjectionSpecification inj_spec)
|
||||||
: WellsGroupInterface(name, prod_spec, inj_spec)
|
: WellsGroupInterface(name, prod_spec, inj_spec)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
bool WellsGroupInterface::isLeafNode() const {
|
bool WellsGroupInterface::isLeafNode() const
|
||||||
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -53,11 +57,13 @@ namespace Opm
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void WellsGroup::addChild(std::tr1::shared_ptr<WellsGroupInterface> child) {
|
void WellsGroup::addChild(std::tr1::shared_ptr<WellsGroupInterface> child)
|
||||||
|
{
|
||||||
children_.push_back(child);
|
children_.push_back(child);
|
||||||
}
|
}
|
||||||
|
|
||||||
WellNode::WellNode(const std::string& name, ProductionSpecification prod_spec,
|
WellNode::WellNode(const std::string& name,
|
||||||
|
ProductionSpecification prod_spec,
|
||||||
InjectionSpecification inj_spec)
|
InjectionSpecification inj_spec)
|
||||||
: WellsGroupInterface(name, prod_spec, inj_spec)
|
: WellsGroupInterface(name, prod_spec, inj_spec)
|
||||||
{
|
{
|
||||||
@ -73,7 +79,8 @@ namespace Opm
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool WellNode::isLeafNode() const {
|
bool WellNode::isLeafNode() const
|
||||||
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -254,6 +261,5 @@ namespace Opm
|
|||||||
}
|
}
|
||||||
|
|
||||||
return return_value;
|
return return_value;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user