Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
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
Package registry
Model registry
Operate
Environments
Terraform modules
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
Tobias Leibner
dune-common
Commits
d6ed4aea
Commit
d6ed4aea
authored
20 years ago
by
Robert Klöfkorn
Browse files
Options
Downloads
Patches
Plain Diff
Minor changes.
[[Imported from SVN: r906]]
parent
d11df38b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
quadrature/barycenter/facecenterpoints.hh
+19
-2
19 additions, 2 deletions
quadrature/barycenter/facecenterpoints.hh
with
19 additions
and
2 deletions
quadrature/barycenter/facecenterpoints.hh
+
19
−
2
View file @
d6ed4aea
...
...
@@ -15,7 +15,7 @@ namespace Dune {
struct
BaryCenterPoints
{
enum
{
identifier
=
0
};
enum
{
numberQuadPoints
=
0
};
enum
{
number
Of
QuadPoints
=
0
};
enum
{
polynomOrder
=
0
};
static
Domain
getPoint
(
int
i
);
static
RangeField
getWeight
(
int
i
);
...
...
@@ -35,9 +35,26 @@ namespace Dune {
//***********************************************************************
//
// specialisations for triangles,quadrilateral,tetrahedrons,hexahedrons
// specialisations for
lines,
triangles,quadrilateral,tetrahedrons,hexahedrons
//
//***********************************************************************
template
<
class
Domain
,
class
RangeField
>
struct
BaryCenterPoints
<
Domain
,
RangeField
,
line
,
0
>
{
enum
{
identifier
=
0
};
enum
{
numberOfQuadPoints
=
1
};
enum
{
polynomOrder
=
1
};
static
Domain
getPoint
(
int
i
)
{
Domain
tmp
(
0.5
);
return
tmp
;
};
static
RangeField
getWeight
(
int
i
)
{
return
1.0
;
};
};
//! specialization triangles
template
<
class
Domain
,
class
RangeField
>
...
...
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