Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nektar
Nektar
Commits
2fc519f6
Commit
2fc519f6
authored
Feb 21, 2013
by
Dave Moxey
Browse files
Fix for quadrature metrics.
parent
bebcf155
Changes
2
Hide whitespace changes
Inline
Side-by-side
library/SpatialDomains/GeomFactors2D.cpp
View file @
2fc519f6
...
...
@@ -1058,8 +1058,9 @@ namespace Nektar
}
default:
{
ASSERTL0
(
false
,
"Currently no implementation "
"for this PointsType"
);
m_isUsingQuadMetrics
=
false
;
m_weightedjac
=
Array
<
OneD
,
NekDouble
>
();
return
;
}
}
break
;
...
...
library/SpatialDomains/GeomFactors3D.cpp
View file @
2fc519f6
...
...
@@ -378,8 +378,9 @@ namespace Nektar
break
;
default:
ASSERTL0
(
false
,
"Quadrature point type not supported for this element."
);
break
;
m_isUsingQuadMetrics
=
false
;
m_weightedjac
=
Array
<
OneD
,
NekDouble
>
();
return
;
}
break
;
}
...
...
@@ -424,8 +425,11 @@ namespace Nektar
break
;
default:
ASSERTL0
(
false
,
"Unsupported quadrature points type."
);
break
;
{
m_isUsingQuadMetrics
=
false
;
m_weightedjac
=
Array
<
OneD
,
NekDouble
>
();
return
;
}
}
switch
(
tbasis
[
2
]
->
GetPointsType
())
...
...
@@ -447,8 +451,9 @@ namespace Nektar
}
break
;
default:
ASSERTL0
(
false
,
"Unsupported quadrature points type."
);
break
;
m_isUsingQuadMetrics
=
false
;
m_weightedjac
=
Array
<
OneD
,
NekDouble
>
();
return
;
}
break
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment