Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cm3Libraries
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
cm3
cm3Libraries
Commits
131da36a
Commit
131da36a
authored
4 years ago
by
Van Dung NGUYEN
Browse files
Options
Downloads
Patches
Plain Diff
new
parent
b808c6b0
No related branches found
Tags
v3.2.3_multiplePhase
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
NonLinearSolver/modelReduction/DeepMaterialNetworks.cpp
+2
-2
2 additions, 2 deletions
NonLinearSolver/modelReduction/DeepMaterialNetworks.cpp
with
2 additions
and
2 deletions
NonLinearSolver/modelReduction/DeepMaterialNetworks.cpp
+
2
−
2
View file @
131da36a
...
...
@@ -1775,8 +1775,8 @@ void TrainingDeepMaterialNetwork::updateFieldFromUnknown(const fullVector<double
void
TrainingDeepMaterialNetwork
::
getNormal
(
const
TreeNode
*
node
,
SVector3
&
vec
,
bool
stiff
,
std
::
vector
<
SVector3
>*
DnormalDunknown
)
const
{
double
pi
=
3.14159265359
;
int
numberNormal
=
node
.
childs
.
size
()
-
1
;
int
totalNumberDirVars
=
node
.
direction
.
size
();
int
numberNormal
=
node
->
childs
.
size
()
-
1
;
int
totalNumberDirVars
=
node
->
direction
.
size
();
int
ncomp
=
totalNumberDirVars
/
numberNormal
;
if
(
ncomp
==
1
)
...
...
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