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
db2af7a7
Commit
db2af7a7
authored
6 years ago
by
Timo Koch
Browse files
Options
Downloads
Patches
Plain Diff
[1pnc][cleanup] Fix indent
parent
52565db0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!1337
WIP Fix/dirichlet caching v2
,
!1332
Fix/1pnc usemoles
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dumux/porousmediumflow/1pnc/volumevariables.hh
+41
-41
41 additions, 41 deletions
dumux/porousmediumflow/1pnc/volumevariables.hh
with
41 additions
and
41 deletions
dumux/porousmediumflow/1pnc/volumevariables.hh
+
41
−
41
View file @
db2af7a7
...
...
@@ -210,37 +210,37 @@ public:
Scalar
saturation
(
int
phaseIdx
=
0
)
const
{
return
1.0
;
}
/*!
* \brief Return mole fraction \f$\mathrm{[mol/mol]}\f$ of a component in the phase.
*
* \param phaseIdx the index of the fluid phase
* \param compIdx the index of the component
*
* \note the phase index passed to this function is for compatibility reasons
* with multiphasic models.
*/
Scalar
moleFraction
(
int
phaseIdx
,
int
compIdx
)
const
{
// make sure this is only called with admissible indices
assert
(
compIdx
<
numFluidComps
);
return
fluidState_
.
moleFraction
(
0
,
compIdx
);
}
/*!
* \brief Returns the mass fraction of a component in the phase
*
* \param phaseIdx the index of the fluid phase
* \param compIdx the index of the component
*
* \note the phase index passed to this function is for compatibility reasons
* with multiphasic models.
*/
Scalar
massFraction
(
int
phaseIdx
,
int
compIdx
)
const
{
// make sure this is only called with admissible indices
assert
(
compIdx
<
numFluidComps
);
return
fluidState_
.
massFraction
(
0
,
compIdx
);
}
/*!
* \brief Return mole fraction \f$\mathrm{[mol/mol]}\f$ of a component in the phase.
*
* \param phaseIdx the index of the fluid phase
* \param compIdx the index of the component
*
* \note the phase index passed to this function is for compatibility reasons
* with multiphasic models.
*/
Scalar
moleFraction
(
int
phaseIdx
,
int
compIdx
)
const
{
// make sure this is only called with admissible indices
assert
(
compIdx
<
numFluidComps
);
return
fluidState_
.
moleFraction
(
0
,
compIdx
);
}
/*!
* \brief Returns the mass fraction of a component in the phase
*
* \param phaseIdx the index of the fluid phase
* \param compIdx the index of the component
*
* \note the phase index passed to this function is for compatibility reasons
* with multiphasic models.
*/
Scalar
massFraction
(
int
phaseIdx
,
int
compIdx
)
const
{
// make sure this is only called with admissible indices
assert
(
compIdx
<
numFluidComps
);
return
fluidState_
.
massFraction
(
0
,
compIdx
);
}
/*!
* \brief Return the effective pressure \f$\mathrm{[Pa]}\f$ of a given phase within
...
...
@@ -318,16 +318,16 @@ public:
return
fluidState_
.
molarity
(
0
,
compIdx
);
}
/*!
* \brief Returns the mass fraction of a component in the phase
*
* \param compIdx the index of the component
*/
Scalar
massFraction
(
int
compIdx
)
const
{
assert
(
compIdx
<
numFluidComps
);
return
this
->
fluidState_
.
massFraction
(
0
,
compIdx
);
}
/*!
* \brief Returns the mass fraction of a component in the phase
*
* \param compIdx the index of the component
*/
Scalar
massFraction
(
int
compIdx
)
const
{
assert
(
compIdx
<
numFluidComps
);
return
fluidState_
.
massFraction
(
0
,
compIdx
);
}
/*!
* \brief Returns the permeability within the control volume in \f$[m^2]\f$.
...
...
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