Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
41e9ac96
Commit
41e9ac96
authored
Sep 16, 2016
by
Dennis Gläser
Committed by
Timo Koch
Nov 23, 2016
Browse files
[mpfa] make quad point runtime specifiable
parent
dd006e43
Changes
3
Hide whitespace changes
Inline
Side-by-side
dumux/discretization/cellcentered/mpfa/globalfvgeometry.hh
View file @
41e9ac96
...
...
@@ -129,7 +129,7 @@ public:
elementMap_
.
resize
(
numScvs
);
// the quadrature point to be used on the scvf
const
Scalar
q
=
GET_P
ROP_VALUE
(
TypeTag
,
QuadraturePoint
);
const
Scalar
q
=
GET_P
ARAM_FROM_GROUP
(
TypeTag
,
Scalar
,
Mpfa
,
Q
);
// Build the SCVs and SCV faces
IndexType
scvfIdx
=
0
;
...
...
dumux/implicit/cellcentered/mpfa/properties.hh
View file @
41e9ac96
...
...
@@ -48,10 +48,8 @@ NEW_PROP_TAG(MpfaHelper); //! A Helper class depending on the mpfa method and gr
NEW_PROP_TAG
(
InteractionVolume
);
//! The inner interaction volume type
NEW_PROP_TAG
(
BoundaryInteractionVolume
);
//! The interaction volume type used on the boundaries
NEW_PROP_TAG
(
GlobalInteractionVolumeSeeds
);
//! Class storing and managing the interaction volume seeds
NEW_PROP_TAG
(
QuadraturePoint
);
//! The quadrature point on the sub control volume faces (0.0 <= q <= 1.0)
NEW_PROP_TAG
(
FacetCoupling
);
//! This property has to be set to true if a sub model on the element facets should be existing
NEW_PROP_TAG
(
UseTpfaBoundary
);
//! This property specifies whether or not tpfa is to be used to handle the boundary fluxes
NEW_PROP_TAG
(
Xi
);
//!
Parameter used for interior neumann boundaries or coupling terms on the element
face
t
s (0.0 <=
xi
<= 1.0)
NEW_PROP_TAG
(
MpfaQ
);
//!
The quadrature point on the sub control volume
faces (0.0 <=
q
<= 1.0)
}
}
...
...
dumux/implicit/cellcentered/mpfa/propertydefaults.hh
View file @
41e9ac96
...
...
@@ -108,17 +108,11 @@ public:
typedef
Dumux
::
CCMpfaSubControlVolumeFace
<
ScvfGeometry
,
IndexType
>
type
;
};
// By default, we set the quadrature point to the mid point of the element facets
SET_SCALAR_PROP
(
CCMpfaModel
,
QuadraturePoint
,
0.0
);
// Facet coupling is deactivated by default
SET_BOOL_PROP
(
CCMpfaModel
,
FacetCoupling
,
false
);
// By default, we use tpfa on the boundaries
SET_BOOL_PROP
(
CCMpfaModel
,
UseTpfaBoundary
,
true
);
// By default, set the
coupling parameter to 1.0
SET_SCALAR_PROP
(
CCMpfaModel
,
Xi
,
1
.0
);
// By default,
we
set the
quadrature point to the mid point of the element facets
SET_SCALAR_PROP
(
CCMpfaModel
,
MpfaQ
,
0
.0
);
}
// namespace Properties
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment