|
using System;
using System.Collections.Generic;
using System.Text;
namespace Jacobi_RedBlack
{
public class Constants
{
public static double SmootingFactor = 10;
//Maximum number of itterations for Jacobi. Note that we are not checking for convergence...
public static double MaxLoops = 1000000;
public enum STATUS
{
INITIAL_STATE,
STARTED_PROCESSING,
STOPPED_PROCESSING
};
public static int numberOfSegments = 4;
//Following constants used by GridCell.cs
public static int gridCellsPerRow = 5;
public static int gridCellsPerCol = 5;
public static int gridCellOffsetAdd = 19;
public static int gridCellOffsetMul = 27;
public static int numberOfLoopsToCount = 50000;
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
coding in C# C++ C
==============================================
Code in English, not Gibberish