Skip to content

Instantly share code, notes, and snippets.

View epsi1on's full-sized avatar
😁

Ehsan M.A. epsi1on

😁
  • Karaj, Iran
View GitHub Profile
@epsi1on
epsi1on / GeneralArclengthSolver.cs
Created December 5, 2019 06:46
code for solving nonlinear system with arclength control
namespace BriefFiniteElement.Nonlinear
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Matrix = CSparse.Double.SparseMatrix;
/// <summary>
/// Solves the [TargetSystem.Evaluate(X) = TargetY] for unknown X and known TargetY with aclength control
@epsi1on
epsi1on / program.cs
Created September 18, 2016 14:24
brief code to evaluate three methods for processing the progress
internal class Program
{
private static void Progress(int length)
{
const int TOTAL = 100;
var s = new System.Diagnostics.Stopwatch();
int j = 0;
var last = 0l;