Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
bf6a0a98
Commit
bf6a0a98
authored
12 years ago
by
Emilie Marchandise
Browse files
Options
Downloads
Patches
Plain Diff
No commit message
No commit message
parent
20dedc5b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Mesh/Matrix.h
+0
-51
0 additions, 51 deletions
Mesh/Matrix.h
with
0 additions
and
51 deletions
Mesh/Matrix.h
deleted
100644 → 0
+
0
−
51
View file @
20dedc5b
// Gmsh - Copyright (C) 1997-2013 C. Geuzaine, J.-F. Remacle
//
// See the LICENSE.txt file for license information. Please report all
// bugs and problems to the public mailing list <gmsh@geuz.org>.
//
// Contributor(s):
// Tristan Carrier
#ifndef _MATRIX_TCB_H_
#define _MATRIX_TCB_H_
class
Matrix
{
private:
double
_val
[
9
];
public:
Matrix
(){
/* m11 = 1.0; */
/* m21 = 0.0; */
/* m31 = 0.0; */
/* m12 = 0.0; */
/* m22 = 1.0; */
/* m32 = 0.0; */
/* m13 = 0.0; */
/* m23 = 0.0; */
/* m33 = 1.0; */
_val
[
0
]
=
_val
[
4
]
=
_val
[
8
]
=
1.0
;
_val
[
1
]
=
_val
[
2
]
=
_val
[
3
]
=
0.0
;
_val
[
5
]
=
_val
[
6
]
=
_val
[
7
]
=
0.0
;
}
~
Matrix
(){}
void
set_m11
(
double
x
){
_val
[
0
]
=
x
;
}
void
set_m21
(
double
x
){
_val
[
1
]
=
x
;
}
void
set_m31
(
double
x
){
_val
[
2
]
=
x
;
}
void
set_m12
(
double
x
){
_val
[
3
]
=
x
;
}
void
set_m22
(
double
x
){
_val
[
4
]
=
x
;
}
void
set_m32
(
double
x
){
_val
[
5
]
=
x
;
}
void
set_m13
(
double
x
){
_val
[
6
]
=
x
;
}
void
set_m23
(
double
x
){
_val
[
7
]
=
x
;
}
void
set_m33
(
double
x
){
_val
[
8
]
=
x
;
}
double
get_m11
(){
return
_val
[
0
];
}
double
get_m21
(){
return
_val
[
1
];
}
double
get_m31
(){
return
_val
[
2
];
}
double
get_m12
(){
return
_val
[
3
];
}
double
get_m22
(){
return
_val
[
4
];
}
double
get_m32
(){
return
_val
[
5
];
}
double
get_m13
(){
return
_val
[
6
];
}
double
get_m23
(){
return
_val
[
7
];
}
double
get_m33
(){
return
_val
[
8
];
}
};
#endif
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