Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dune-fem-dg
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dune-fem
dune-fem-dg
Commits
5ecd3cdc
Commit
5ecd3cdc
authored
9 years ago
by
Robert K
Browse files
Options
Downloads
Patches
Plain Diff
cleanup.
parent
d5b5dc92
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/fem-dg/main/codegen.hh
+0
-13
0 additions, 13 deletions
dune/fem-dg/main/codegen.hh
with
0 additions
and
13 deletions
dune/fem-dg/main/codegen.hh
+
0
−
13
View file @
5ecd3cdc
...
...
@@ -140,7 +140,6 @@ namespace Fem {
out
<<
std
::
endl
;
// make length simd conform
//out << " field_type resultTmp[ " << numRows * dimRange << " ] = { 0 };" << std::endl << std::endl;
out
<<
" field_type resultTmp[ "
<<
numRows
*
dimRange
<<
" ];"
<<
std
::
endl
;
out
<<
" for( int i=0; i<"
<<
numRows
*
dimRange
<<
"; ++i ) resultTmp[ i ] = 0;"
<<
std
::
endl
<<
std
::
endl
;
...
...
@@ -288,7 +287,6 @@ namespace Fem {
// axpy
////////////////////////////////////////////////////
//out << " " << doubletype() << " dofResult[ " << numCols * dimRange << " ] = { 0 };" << std::endl << std::endl ;
out
<<
" "
<<
doubletype
()
<<
" dofResult[ "
<<
numCols
*
dimRange
<<
" ];"
<<
std
::
endl
<<
std
::
endl
;
out
<<
" for( int i=0; i<"
<<
numCols
*
dimRange
<<
"; ++i) dofResult[ i ] = 0;"
<<
std
::
endl
;
const
size_t
simdRows
=
simdWidth
*
(
numRows
/
simdWidth
)
;
...
...
@@ -329,7 +327,6 @@ namespace Fem {
if
(
numRows
>
simdRows
)
{
out
<<
" typedef typename RangeVectorType :: value_type value_type;"
<<
std
::
endl
;
//out << " typedef typename ScalarRangeType :: field_type field_type;" << std::endl;
out
<<
std
::
endl
;
out
<<
" // remainder iteration"
<<
std
::
endl
;
...
...
@@ -479,13 +476,6 @@ namespace Fem {
out
<<
" }"
<<
std
::
endl
;
out
<<
std
::
endl
;
/*
for( int d = 0; d < dim ; ++ d )
{
// make length simd conform
out << " field_type resultTmp" << d << "[ " << numRows * dimRange << " ] = { 0 }; " << std::endl;
}
*/
for
(
int
d
=
0
;
d
<
dim
;
++
d
)
{
// make length simd conform
...
...
@@ -684,9 +674,6 @@ namespace Fem {
out
<<
" typedef typename JacobianRangeVectorType :: value_type value_type;"
<<
std
::
endl
;
out
<<
" typedef typename JacobianRangeType :: field_type field_type;"
<<
std
::
endl
;
const
size_t
dofs
=
dimRange
*
numCols
;
//out << " field_type result [ " << dofs << " ] = {";
//for( size_t dof = 0 ; dof < dofs-1 ; ++ dof ) out << " 0,";
//out << " 0 };" << std::endl << std::endl;
out
<<
" field_type result [ "
<<
dofs
<<
" ];"
<<
std
::
endl
;
out
<<
" for ( int i=0; i<"
<<
dofs
<<
"; ++i ) result[ i ] = 0;"
<<
std
::
endl
;
for
(
int
r
=
0
;
r
<
dimRange
;
++
r
)
...
...
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