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
Package registry
Model registry
Operate
Terraform modules
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
Romin Tomasetti
gmsh
Commits
a34b15ff
Commit
a34b15ff
authored
9 years ago
by
Van Dung Nguyen
Browse files
Options
Downloads
Patches
Plain Diff
add new function
parent
5a363a6f
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
Solver/STensor43.h
+4
-0
4 additions, 0 deletions
Solver/STensor43.h
with
4 additions
and
0 deletions
Solver/STensor43.h
+
4
−
0
View file @
a34b15ff
...
@@ -155,6 +155,10 @@ class STensor43 {
...
@@ -155,6 +155,10 @@ class STensor43 {
void
print
(
const
char
*
)
const
;
void
print
(
const
char
*
)
const
;
const
double
*
data
()
const
{
return
_val
;}
const
double
*
data
()
const
{
return
_val
;}
double
*
data
()
{
return
_val
;}
double
*
data
()
{
return
_val
;}
void
axpy
(
const
double
a
,
const
STensor43
&
other
){
for
(
int
i
=
0
;
i
<
81
;
i
++
)
_val
[
i
]
+=
a
*
other
.
_val
[
i
];
}
};
};
// tensor product
// tensor product
...
...
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