Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
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
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
dumux-repositories
dumux
Commits
c8d0ec4a
Commit
c8d0ec4a
authored
7 years ago
by
Dennis Gläser
Browse files
Options
Downloads
Patches
Plain Diff
[component] redirect constexpr functions to implementation
throw statements are no const expressions
parent
cd1beeb7
No related branches found
No related tags found
1 merge request
!617
[WIP] Next
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dumux/material/components/component.hh
+5
-5
5 additions, 5 deletions
dumux/material/components/component.hh
with
5 additions
and
5 deletions
dumux/material/components/component.hh
+
5
−
5
View file @
c8d0ec4a
...
@@ -64,31 +64,31 @@ public:
...
@@ -64,31 +64,31 @@ public:
* \brief Returns true if the gas phase is assumed to be compressible
* \brief Returns true if the gas phase is assumed to be compressible
*/
*/
static
constexpr
bool
gasIsCompressible
()
static
constexpr
bool
gasIsCompressible
()
{
DUNE_THROW
(
Dune
::
NotImplemented
,
"Component
::gasIsCompressible()
"
)
;
}
{
return
Implementation
::
gasIsCompressible
();
}
/*!
/*!
* \brief Returns true if the gas phase viscostiy is constant
* \brief Returns true if the gas phase viscostiy is constant
*/
*/
static
constexpr
bool
gasViscosityIsConstant
()
static
constexpr
bool
gasViscosityIsConstant
()
{
DUNE_THROW
(
Dune
::
NotImplemented
,
"Component
::gasViscosityIsConstant()
"
)
;
}
{
return
Implementation
::
gasViscosityIsConstant
();
}
/*!
/*!
* \brief Returns true if the gas phase is assumed to be ideal
* \brief Returns true if the gas phase is assumed to be ideal
*/
*/
static
constexpr
bool
gasIsIdeal
()
static
constexpr
bool
gasIsIdeal
()
{
DUNE_THROW
(
Dune
::
NotImplemented
,
"Component
::gasIsCompressible()
"
)
;
}
{
return
Implementation
::
gasIsCompressible
();
}
/*!
/*!
* \brief Returns true if the liquid phase is assumed to be compressible
* \brief Returns true if the liquid phase is assumed to be compressible
*/
*/
static
constexpr
bool
liquidIsCompressible
()
static
constexpr
bool
liquidIsCompressible
()
{
DUNE_THROW
(
Dune
::
NotImplemented
,
"Component
::liquidIsCompressible()
"
)
;
}
{
return
Implementation
::
liquidIsCompressible
();
}
/*!
/*!
* \brief Returns true if the liquid phase viscostiy is constant
* \brief Returns true if the liquid phase viscostiy is constant
*/
*/
static
constexpr
bool
liquidViscosityIsConstant
()
static
constexpr
bool
liquidViscosityIsConstant
()
{
DUNE_THROW
(
Dune
::
NotImplemented
,
"Component
::liquidViscosityIsConstant()
"
)
;
}
{
return
Implementation
::
liquidViscosityIsConstant
();
}
/*!
/*!
* \brief A human readable name for the component.
* \brief A human readable name for the component.
...
...
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