Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-grid
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
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Core Modules
dune-grid
Commits
274a589f
Commit
274a589f
authored
8 years ago
by
Ansgar Burchardt
Browse files
Options
Downloads
Patches
Plain Diff
Use trailing return type where reasonable
parent
628fa9b5
No related branches found
No related tags found
1 merge request
!156
Cleanup UGGrid code
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dune/grid/uggrid/uggridentity.cc
+2
-1
2 additions, 1 deletion
dune/grid/uggrid/uggridentity.cc
dune/grid/uggrid/uggridintersections.cc
+16
-8
16 additions, 8 deletions
dune/grid/uggrid/uggridintersections.cc
with
18 additions
and
9 deletions
dune/grid/uggrid/uggridentity.cc
+
2
−
1
View file @
274a589f
...
...
@@ -242,8 +242,9 @@ UGGridEntity < 0, dim ,GridImp >::hend(int maxlevel) const
}
template
<
int
dim
,
class
GridImp
>
typename
UGGridEntity
<
0
,
dim
,
GridImp
>::
LocalGeometry
auto
UGGridEntity
<
0
,
dim
,
GridImp
>::
geometryInFather
()
const
->
LocalGeometry
{
// we need to have a father element
typename
UG_NS
<
dim
>::
Element
*
fatherElement
=
UG_NS
<
dim
>::
EFather
(
target_
);
...
...
This diff is collapsed.
Click to expand it.
dune/grid/uggrid/uggridintersections.cc
+
16
−
8
View file @
274a589f
...
...
@@ -11,9 +11,10 @@
namespace
Dune
{
template
<
class
GridImp
>
const
typename
UGGridLevelIntersection
<
GridImp
>::
WorldVector
&
auto
UGGridLevelIntersection
<
GridImp
>::
outerNormal
(
const
FaceVector
&
local
)
const
->
const
WorldVector
&
{
// //////////////////////////////////////////////////////
// Implementation for 3D
...
...
@@ -92,8 +93,9 @@ UGGridLevelIntersection<GridImp>::outerNormal
}
template
<
class
GridImp
>
typename
UGGridLevelIntersection
<
GridImp
>::
LocalGeometry
auto
UGGridLevelIntersection
<
GridImp
>::
geometryInInside
()
const
->
LocalGeometry
{
if
(
!
geometryInInside_
)
{
...
...
@@ -120,8 +122,9 @@ UGGridLevelIntersection<GridImp>::geometryInInside () const
}
template
<
class
GridImp
>
typename
UGGridLevelIntersection
<
GridImp
>::
Geometry
auto
UGGridLevelIntersection
<
GridImp
>::
geometry
()
const
->
Geometry
{
if
(
!
geometry_
)
{
...
...
@@ -148,8 +151,9 @@ UGGridLevelIntersection<GridImp>::geometry () const
}
template
<
class
GridImp
>
typename
UGGridLevelIntersection
<
GridImp
>::
LocalGeometry
auto
UGGridLevelIntersection
<
GridImp
>::
geometryInOutside
()
const
->
LocalGeometry
{
if
(
!
geometryInOutside_
)
{
...
...
@@ -224,9 +228,10 @@ int UGGridLevelIntersection<GridImp>::indexInOutside () const
If the face is flat this doesn't matter.
*/
template
<
class
GridImp
>
const
typename
UGGridLeafIntersection
<
GridImp
>::
WorldVector
&
auto
UGGridLeafIntersection
<
GridImp
>::
outerNormal
(
const
FaceVector
&
local
)
const
->
const
WorldVector
&
{
/////////////////////////////////////////////////////////
// Implementation for 3D
...
...
@@ -305,8 +310,9 @@ UGGridLeafIntersection<GridImp>::outerNormal
}
template
<
class
GridImp
>
typename
UGGridLeafIntersection
<
GridImp
>::
LocalGeometry
auto
UGGridLeafIntersection
<
GridImp
>::
geometryInInside
()
const
->
LocalGeometry
{
if
(
!
geometryInInside_
)
{
...
...
@@ -373,8 +379,9 @@ UGGridLeafIntersection< GridImp >::geometryInInside () const
}
template
<
class
GridImp
>
typename
UGGridLeafIntersection
<
GridImp
>::
Geometry
auto
UGGridLeafIntersection
<
GridImp
>::
geometry
()
const
->
Geometry
{
if
(
!
geometry_
)
{
...
...
@@ -438,8 +445,9 @@ UGGridLeafIntersection< GridImp >::geometry () const
/** \todo Needs to be checked for the nonconforming case */
template
<
class
GridImp
>
typename
UGGridLeafIntersection
<
GridImp
>::
LocalGeometry
auto
UGGridLeafIntersection
<
GridImp
>::
geometryInOutside
()
const
->
LocalGeometry
{
if
(
!
geometryInOutside_
)
{
...
...
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