ISAAR.MSolve.SamplesConsole/Preprocessing/PreprocessorModel.cs
/// <summary>
/// Enforces a displacement for the provided node.
/// </summary>
/// <param name="node"></param>
/// <param name="freedomDegree">The axis of the prescribed displacement.</param>
/// <param name="signedMagnitude">The magnitude of the prescribed displacement with its sign.</param>
Enforces a displacement for the provided node.
Enforces a displacement for the provided node .
public void ApplyPrescribedDisplacement(Node node, IDofType freedomDegree, double signedMagnitude)
        {
            if (signedMagnitude == 0.0)
            {
                node.Constraints.Add(new Constraint() { DOF = freedomDegree, Amount = 0.0 });
            }
            else throw new NotImplementedException("For now only 0 displacements are supported");
        }
public void ApplyPrescribedDisplacement ( Node node , IDofType freedomDegree , double signedMagnitude ) { if ( signedMagnitude == 0.0 ) { node . Constraints . Add ( new Constraint ( ) { DOF = freedomDegree , Amount = 0.0 } ) ; } else throw new NotImplementedException ( " " ) ; }
Enforces a displacement for the provided node.
Enforces a displacement for the provided node .
node
Node
None
freedomDegree
IDofType
The axis of the prescribed displacement.
The axis of the prescribed displacement .
signedMagnitude
double
The magnitude of the prescribed displacement with its sign.
The magnitude of the prescribed displacement with its sign .