Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tnl-dev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor 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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
TNL
tnl-dev
Commits
91875141
There was an error fetching the commit references. Please try again later.
Commit
91875141
authored
6 years ago
by
Jakub Klinkovský
Browse files
Options
Downloads
Patches
Plain Diff
Changed overly verbose messages to error messages
parent
e1bd4a83
No related branches found
No related tags found
1 merge request
!5
Decoupling linear solvers from PDE solvers
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/TNL/Solvers/PDE/SemiImplicitTimeStepper_impl.h
+3
-3
3 additions, 3 deletions
src/TNL/Solvers/PDE/SemiImplicitTimeStepper_impl.h
src/TNL/Solvers/PDE/TimeDependentPDESolver_impl.h
+3
-3
3 additions, 3 deletions
src/TNL/Solvers/PDE/TimeDependentPDESolver_impl.h
with
6 additions
and
6 deletions
src/TNL/Solvers/PDE/SemiImplicitTimeStepper_impl.h
+
3
−
3
View file @
91875141
...
...
@@ -58,10 +58,10 @@ bool
SemiImplicitTimeStepper
<
Problem
>::
init
(
const
MeshPointer
&
mesh
)
{
std
::
cout
<<
"Setting up the l
inear
s
ystem
..."
;
if
(
!
this
->
problem
->
setup
L
inear
S
ystem
(
this
->
matrix
)
)
if
(
!
this
->
problem
->
setupL
inear
S
ystem
(
this
->
matrix
)
)
{
std
::
cerr
<<
"Failed to
set
up
the l
inear
s
ystem
."
<<
std
::
endl
;
return
false
;
std
::
cout
<<
" [ OK ]"
<<
std
::
endl
;
}
if
(
this
->
matrix
.
getData
().
getRows
()
==
0
||
this
->
matrix
.
getData
().
getColumns
()
==
0
)
{
std
::
cerr
<<
"The matrix for the semi-implicit time stepping was not set correctly."
<<
std
::
endl
;
...
...
This diff is collapsed.
Click to expand it.
src/TNL/Solvers/PDE/TimeDependentPDESolver_impl.h
+
3
−
3
View file @
91875141
...
...
@@ -97,11 +97,11 @@ setup( const Config::ParameterContainer& parameters,
/***
* Set-up the initial condition
*/
std
::
cout
<<
"Setting up the initial condition ... "
;
typedef
typename
Problem
::
DofVectorType
DofVectorType
;
if
(
!
this
->
problem
->
setInitialCondition
(
parameters
,
this
->
dofsPointer
)
)
if
(
!
this
->
problem
->
setInitialCondition
(
parameters
,
this
->
dofsPointer
)
)
{
std
::
cerr
<<
"Failed to set up the initial condition."
<<
std
::
endl
;
return
false
;
std
::
cout
<<
" [ OK ]"
<<
std
::
endl
;
}
/****
* Initialize the time discretisation
...
...
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