mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-01 03:37:15 -06:00
#2608 Make the constraints in the SolveSpace solver available for editing
This commit is contained in:
parent
5cdde7f851
commit
22fd7a7692
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:
|
||||
|
Loading…
Reference in New Issue
Block a user