mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2608 Make the constraints in the SolveSpace solver available for editing
This commit is contained in:
2
ThirdParty/libslvs/SolveSpaceSystem.cpp
vendored
2
ThirdParty/libslvs/SolveSpaceSystem.cpp
vendored
@@ -163,7 +163,7 @@ std::valarray<double> SolveSpaceSystem::global3DPos(Slvs_hEntity pointEntityId)
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
Slvs_Constraint SolveSpaceSystem::constraint(Slvs_hConstraint constraintId)
|
||||
Slvs_Constraint& SolveSpaceSystem::constraint(Slvs_hConstraint constraintId)
|
||||
{
|
||||
return (*m_constraintMemory)[constraintId-1];
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ public:
|
||||
// Returns point as x, y, z values
|
||||
std::valarray<double> global3DPos (Slvs_hEntity pointEntityId);
|
||||
|
||||
Slvs_Constraint constraint(Slvs_hConstraint constraintId);
|
||||
Slvs_Constraint & constraint(Slvs_hConstraint constraintId);
|
||||
std::vector<Slvs_hConstraint> failedConstraints() const;
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user