Beispiel #1
0
        /// <summary>
        /// Determines whether another FiniteElementModel equals this.
        /// </summary>
        /// <param name="other">The other model to compare to this</param>
        /// <returns>True if the node repository, element repository, force repository and model type
        /// of this model and the other model are equal.</returns>
        public bool Equals(FiniteElementModel other)
        {
            if (other == null)
            {
                return(false);
            }

            return(object.Equals(this.nodes, other.nodes) &&
                   object.Equals(this.elements, other.elements) &&
                   object.Equals(this.forces, other.forces) &&
                   this.ModelType == other.ModelType);
        }
 /// <summary>
 ///
 /// </summary>
 /// <param name="modelToSolve"></param>
 public MatrixInversionLinearSolver(FiniteElementModel modelToSolve)
     : base(modelToSolve)
 {
     // empty
 }
Beispiel #3
0
        /// <summary>
        /// Determines whether another object equals this.
        /// </summary>
        /// <param name="obj">The other object to compare to this.</param>
        /// <returns>True if the other object equals this model.</returns>
        public override bool Equals(object obj)
        {
            FiniteElementModel other = obj as FiniteElementModel;

            return(this.Equals(other));
        }
 /// <summary>
 ///
 /// </summary>
 /// <param name="modelToSolve"></param>
 public LinearSolverSVD(FiniteElementModel modelToSolve)
     : base(modelToSolve)
 {
     // empty
 }