Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
amdis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iwr
amdis
Commits
8c4548a8
Commit
8c4548a8
authored
8 years ago
by
Praetorius, Simon
Browse files
Options
Downloads
Patches
Plain Diff
smal type in petscsolver
parent
2b5c8682
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!17
smal type in petscsolver
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
AMDiS/cmake/enable_mtl4.cmake
+1
-0
1 addition, 0 deletions
AMDiS/cmake/enable_mtl4.cmake
AMDiS/cmake3/target_enable_mtl4.cmake
+1
-1
1 addition, 1 deletion
AMDiS/cmake3/target_enable_mtl4.cmake
extensions/preconditioner/PetscSolverPfc.cc
+1
-1
1 addition, 1 deletion
extensions/preconditioner/PetscSolverPfc.cc
with
3 additions
and
2 deletions
AMDiS/cmake/enable_mtl4.cmake
+
1
−
0
View file @
8c4548a8
...
...
@@ -10,6 +10,7 @@ macro(enable_mtl4 _FLAGS_ _INC_DIRS_ _LIBS_)
else
()
list
(
APPEND
${
_INC_DIRS_
}
${
BASE_DIR
}
/lib/mtl4
)
endif
(
LINK_EXECUTABLE
)
list
(
APPEND
${
_FLAGS_
}
"-DMTL_ASSERT_FOR_THROW=1"
)
if
(
ENABLE_CXX11 OR AMDIS_NEED_CXX11
)
...
...
This diff is collapsed.
Click to expand it.
AMDiS/cmake3/target_enable_mtl4.cmake
+
1
−
1
View file @
8c4548a8
...
...
@@ -12,7 +12,7 @@ macro(target_enable_mtl4 _TARGET_ _SCOPE_)
else
()
target_include_directories
(
${
_TARGET_
}
${
_SCOPE_
}
${
BASE_DIR
}
/lib/mtl4
)
endif
(
LINK_EXECUTABLE
)
target_compile_definitions
(
${
_TARGET_
}
${
_SCOPE_
}
MTL_ASSERT_FOR_THROW=1
)
if
(
ENABLE_CXX11
)
set
(
CXX_ELEVEN_FEATURE_LIST
"MOVE"
"AUTO"
"RANGEDFOR"
"INITLIST"
"STATICASSERT"
"DEFAULTIMPL"
)
...
...
This diff is collapsed.
Click to expand it.
extensions/preconditioner/PetscSolverPfc.cc
+
1
−
1
View file @
8c4548a8
...
...
@@ -86,7 +86,7 @@ namespace AMDiS { namespace Parallel {
if
(
getInfo
()
>=
10
)
KSPMonitorSet
(
ksp
,
PETSC_MONITOR_CAST
(
KSPMonitorDefault
),
PETSC_NULL
,
PETSC_NULL
);
else
if
(
getInfo
()
>=
20
)
KSPMonitorSet
(
ksp
,
PETSC_MONITOR_CASTKSPMonitorTrueResidualNorm
),
PETSC_NULL
,
PETSC_NULL
);
KSPMonitorSet
(
ksp
,
PETSC_MONITOR_CAST
(
KSPMonitorTrueResidualNorm
),
PETSC_NULL
,
PETSC_NULL
);
petsc_helper
::
setSolver
(
ksp
,
"pfc_"
,
KSPFGMRES
,
PCNONE
,
getRelative
(),
getTolerance
(),
getMaxIterations
());
KSPSetFromOptions
(
ksp
);
...
...
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