Sorry, labels cannot contain : ; _ + @ :="; echo "
"; } else { $ProblemIDs .= ":" . $_POST['MyLabel'] . "@" . $_POST['type']; foreach (split(" ", $_POST['parameters']) as $value) { if ($value == "") continue; $ProblemIDs .= '_' . $value . '!' . $_POST[$value]; } } } else if ($_POST['state'] == "uploadData") { $error = 0; $errorText = ""; if ($_POST['accessCode'] !== $Password) { $errorText .= "Error: Wrong authorization code\n"; $error++; } if (!is_uploaded_file($_FILES['file']['tmp_name'])) { $errorText .= "Error: please supply a file.You are at Step 1: Select Data, in global $Mode; if ($Mode == "beginner") echo "beginner mode."; else if ($Mode == "intermediate") echo "intermediate mode."; else if ($Mode == "expert") echo "expert mode."; ?> global $Mode; if ($Mode == "beginner") { ?>
The first step of MatrixPortal is used to define the problems to be
solved. Here you can either generate a problem, or upload your linear
system if you are an authorized user.
Example: we want to verify numerically that multilevel preconditioners, applied to a model problem, yields optimal preconditioners. Stated otherwise, the condition number of the preconditioned problem does not depend on the mesh size.
We want to select three different mesh sizes for the 2D Laplacian problem.
When you done with this, go at the bottom of the page, and proceed to step 1C to check your data.
Note: there are many more choices for the problem generator in the intermediate and expert mode, not reported here for the sake of clarity.
}
else if ($Mode == "intermediate") { ?>
In this step, you should specify at least one problem to be solved. Each problem is identified by a label or ProblemID you have to select. There are two ways to supply problems: by using the matrix generator, or by uploading a matrix or linear system, using the Harwell/Boeing or XML format, for authorized users only. The list of problems currently selected is reported in the Labels and Results section, in the column Problem IDs. When you start, the other column, Recorded Results, is empty; you first need to go through step 4 to populate this array. When results are present, they contain a label and a value, which is the evaluation parameter for the solver you specified on a given problem.
To continue, proceed to Step 1C (Check Data) using the button at the bottom of the page to check your data, or go directly to Step 2 to specify the parameters for the linear solvers. } else if ($Mode == "expert") { ?>
} ?>
Data from Generator: ?
Data from Collections: ?
Upload Data (requires access code): ?