Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
amdis
amdis-core
Commits
ccde07a0
Commit
ccde07a0
authored
Aug 05, 2020
by
Müller, Felix
Browse files
Remove makeNode[Quad]Cache functions
parent
043a2d71
Changes
2
Hide whitespace changes
Inline
Side-by-side
amdis/gridfunctions/DiscreteLocalFunction.inc.hpp
View file @
ccde07a0
...
...
@@ -89,7 +89,7 @@ public:
auto
&&
nodeToRangeEntry
=
globalFunction_
.
nodeToRangeEntry_
;
for_each_leaf_node
(
*
subTree_
,
[
&
,
this
](
auto
const
&
node
,
auto
const
&
tp
)
{
auto
localBasisCache
=
makeNodeCache
(
node
);
NodeCache
localBasisCache
(
node
);
auto
const
&
shapeFunctionValues
=
localBasisCache
.
evaluateFunction
(
localView_
.
element
().
type
(),
x
);
std
::
size_t
size
=
node
.
finiteElement
().
size
();
...
...
amdis/utility/LocalBasisCache.hpp
View file @
ccde07a0
...
...
@@ -117,13 +117,6 @@ namespace AMDiS
LocalBasisType
const
*
localBasis_
=
nullptr
;
};
/// Generator function for \ref NodeCache, \relates NodeCache.
template
<
class
Node
>
NodeCache
<
Node
>
makeNodeCache
(
Node
const
&
node
)
{
return
NodeCache
<
Node
>
{
node
};
}
/// \brief Cache of LocalBasis evaluations and jacobians at quadrature points
/**
* Caching is done using the ConcurrentCache data structure with a key that
...
...
@@ -237,11 +230,4 @@ namespace AMDiS
LocalBasisType
const
*
localBasis_
=
nullptr
;
};
/// Generator function for \ref NodeQuadCache, \relates NodeQuadCache.
template
<
class
Node
>
NodeQuadCache
<
Node
>
makeNodeQuadCache
(
Node
const
&
node
)
{
return
NodeQuadCache
<
Node
>
{
node
};
}
}
// end namespace AMDiS
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