Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MES_Wind
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debolskiy Andrey
MES_Wind
Commits
6b8148f7
Commit
6b8148f7
authored
8 years ago
by
Антон Кудряшов
Browse files
Options
Downloads
Patches
Plain Diff
- removed affine Coefficients
parent
77df24fe
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
MES_Wind/frmMain.cs
+0
-2
0 additions, 2 deletions
MES_Wind/frmMain.cs
WindStressPRM/Utils/Matrix.cs
+0
-4
0 additions, 4 deletions
WindStressPRM/Utils/Matrix.cs
with
0 additions
and
6 deletions
MES_Wind/frmMain.cs
+
0
−
2
View file @
6b8148f7
...
...
@@ -132,7 +132,6 @@ namespace MES_Wind
WindStressPRM
.
Matrix
<
WindStressPRM
.
PrognosticCell
>
prognosticMatrix
=
new
WindStressPRM
.
Matrix
<
WindStressPRM
.
PrognosticCell
>();
prognosticMatrix
.
Cells
=
new
WindStressPRM
.
PrognosticCell
[
ccountPrognostic
,
rcountPrognostic
];
prognosticMatrix
.
Size
=
new
WindStressPRM
.
CellSize
(
uRasterLayer
.
DataSet
.
CellWidth
,
uRasterLayer
.
DataSet
.
CellHeight
);
prognosticMatrix
.
AffineCoefficients
=
uRasterLayer
.
Bounds
.
AffineCoefficients
;
// fill cells of prognostic matrix
for
(
int
i
=
0
;
i
<
rcountPrognostic
;
i
++)
{
...
...
@@ -161,7 +160,6 @@ namespace MES_Wind
WindStressPRM
.
Matrix
<
WindStressPRM
.
ClimateCell
>
climateMatrix
=
new
WindStressPRM
.
Matrix
<
WindStressPRM
.
ClimateCell
>();
climateMatrix
.
Cells
=
new
WindStressPRM
.
ClimateCell
[
columnCountClim
,
rowCountClim
];
climateMatrix
.
Size
=
new
WindStressPRM
.
CellSize
(
clim5RasterLayer
.
DataSet
.
CellWidth
,
clim5RasterLayer
.
DataSet
.
CellHeight
);
climateMatrix
.
AffineCoefficients
=
clim5RasterLayer
.
Bounds
.
AffineCoefficients
;
// fill cells of climate matrix
for
(
int
i
=
0
;
i
<
rowCountClim
;
i
++)
{
...
...
This diff is collapsed.
Click to expand it.
WindStressPRM/Utils/Matrix.cs
+
0
−
4
View file @
6b8148f7
...
...
@@ -40,10 +40,6 @@ namespace WindStressPRM
return
new
Index
(
iRow
,
iCol
);
}
/// <summary>
/// AffineCoefficients for matrix from raster projection
/// </summary>
public
double
[]
AffineCoefficients
{
get
;
set
;
}
/// <summary>
/// Size of cell. In meters
/// </summary>
public
CellSize
Size
{
get
;
set
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment