Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dartflo
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
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
Aerospace and Mechanical Engineering
dartflo
Compare revisions
7f5cf5c5c57d9a90406a8051058e1e0ed9676ee4 to 2cdf73b03d98e1dae2a094fe9f1edb9f4f7e1eab
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
am-dept/dartflo
Select target project
No results found
2cdf73b03d98e1dae2a094fe9f1edb9f4f7e1eab
Select Git revision
Branches
adri
feat_2order
feat_amr
master
paul
Tags
v1.0.0
v1.1.0
v1.2.0
v1.2.1
v1.2.2
v1.3.0
Swap
Target
am-dept/dartflo
Select target project
Paul.Dechamps/dartflo
1 result
7f5cf5c5c57d9a90406a8051058e1e0ed9676ee4
Select Git revision
Branches
adri
feat_2order
feat_amr
master
paul
Tags
v1.0.0
v1.1.0
v1.2.0
v1.2.1
v1.2.2
v1.3.0
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (1)
(fix) Fix format 2
· 2cdf73b0
Paul Dechamps
authored
1 year ago
Verified
2cdf73b0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dart/src/wAdjoint.cpp
+1
-1
1 addition, 1 deletion
dart/src/wAdjoint.cpp
dart/src/wAdjoint.h
+2
-2
2 additions, 2 deletions
dart/src/wAdjoint.h
with
3 additions
and
3 deletions
dart/src/wAdjoint.cpp
View file @
2cdf73b0
...
...
@@ -631,7 +631,7 @@ void Adjoint::buildGradientResidualMesh(Eigen::SparseMatrix<double, Eigen::RowMa
for
(
size_t
j
=
0
;
j
<
p
.
first
->
nodes
.
size
();
++
j
)
{
int
rowj
=
p
.
first
->
nodes
[
j
]
->
row
;
for
(
int
n
=
0
;
n
<
sol
->
pbl
->
nDim
;
++
n
)
for
(
int
n
=
0
;
n
<
sol
->
pbl
->
nDim
;
++
n
)
T
.
push_back
(
Eigen
::
Triplet
<
double
>
(
sol
->
rows
[
rowi
],
sol
->
pbl
->
nDim
*
rowj
+
n
,
A
(
i
,
sol
->
pbl
->
nDim
*
j
+
n
)));
}
}
...
...
This diff is collapsed.
Click to expand it.
dart/src/wAdjoint.h
View file @
2cdf73b0
...
...
@@ -84,9 +84,9 @@ public:
std
::
vector
<
double
>
computeJacVecLoadsFlow
(
std
::
vector
<
double
>
const
&
dL
);
std
::
vector
<
double
>
computeJacVecLoadsMesh
(
std
::
vector
<
double
>
const
&
dL
);
// Partial gradients of the coefficients
std
::
vector
<
std
::
vector
<
double
>>
computeGradientCoefficientsFlow
();
std
::
vector
<
std
::
vector
<
double
>>
computeGradientCoefficientsFlow
();
std
::
vector
<
double
>
computeGradientCoefficientsAoa
();
std
::
vector
<
std
::
vector
<
double
>>
computeGradientCoefficientsMesh
();
std
::
vector
<
std
::
vector
<
double
>>
computeGradientCoefficientsMesh
();
// Gradient of the blowing velocity
Eigen
::
SparseMatrix
<
double
,
Eigen
::
RowMajor
>
computeJacVecFlowBlowing
(
Eigen
::
SparseMatrix
<
double
,
Eigen
::
RowMajor
>
const
&
dR
);
std
::
vector
<
double
>
computeJacVecFlowBlowing
(
std
::
vector
<
double
>
const
&
dR
);
...
...
This diff is collapsed.
Click to expand it.