Skip to content
Snippets Groups Projects
Commit 131da36a authored by Van Dung NGUYEN's avatar Van Dung NGUYEN
Browse files

new

parent b808c6b0
No related branches found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment