Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-gfe
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
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
Sander, Oliver
dune-gfe
Commits
398390d7
Commit
398390d7
authored
13 years ago
by
Youett, Jonathan
Committed by
akbib@FU-BERLIN.DE
13 years ago
Browse files
Options
Downloads
Patches
Plain Diff
adjust to new template order
[[Imported from SVN: r8164]]
parent
e4cd0347
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/gfe/averageinterface.hh
+5
-5
5 additions, 5 deletions
dune/gfe/averageinterface.hh
with
5 additions
and
5 deletions
dune/gfe/averageinterface.hh
+
5
−
5
View file @
398390d7
...
...
@@ -508,7 +508,7 @@ void computeTotalForceAndTorque(const BoundaryPatch<GridView>& interface,
// Given a resultant force and torque (from a rod problem), this method computes the corresponding
// Neumann data for a 3d elasticity problem.
template
<
class
GridView
>
void
computeAveragePressure
(
const
typename
RigidBodyMotion
<
GridView
::
dimension
>::
TangentVector
&
resultantForceTorque
,
void
computeAveragePressure
(
const
typename
RigidBodyMotion
<
double
,
GridView
::
dimension
>::
TangentVector
&
resultantForceTorque
,
const
BoundaryPatch
<
GridView
>&
interface
,
const
Dune
::
FieldVector
<
double
,
GridView
::
dimension
>&
centerOfTorque
,
Dune
::
BlockVector
<
Dune
::
FieldVector
<
double
,
GridView
::
dimension
>
>&
pressure
)
...
...
@@ -712,7 +712,7 @@ void computeAveragePressure(const typename RigidBodyMotion<GridView::dimension>:
template
<
class
GridView
>
void
computeAverageInterface
(
const
BoundaryPatch
<
GridView
>&
interface
,
const
Dune
::
BlockVector
<
Dune
::
FieldVector
<
double
,
GridView
::
dimension
>
>
deformation
,
RigidBodyMotion
<
3
>&
average
)
RigidBodyMotion
<
double
,
3
>&
average
)
{
using
namespace
Dune
;
...
...
@@ -863,15 +863,15 @@ void computeAverageInterface(const BoundaryPatch<GridView>& interface,
template
<
class
GridView
>
void
setRotation
(
const
BoundaryPatch
<
GridView
>&
dirichletBoundary
,
Dune
::
BlockVector
<
Dune
::
FieldVector
<
double
,
GridView
::
dimension
>
>&
deformation
,
const
RigidBodyMotion
<
3
>&
referenceInterface
,
const
RigidBodyMotion
<
3
>&
lambda
)
const
RigidBodyMotion
<
double
,
3
>&
referenceInterface
,
const
RigidBodyMotion
<
double
,
3
>&
lambda
)
{
const
typename
GridView
::
IndexSet
&
indexSet
=
dirichletBoundary
.
gridView
().
indexSet
();
const
int
dim
=
GridView
::
dimension
;
const
int
dimworld
=
GridView
::
dimensionworld
;
// Get the relative rotation, first as a quaternion...
Rotation
<
3
,
double
>
relativeRotation
;
Rotation
<
double
,
3
>
relativeRotation
;
relativeRotation
=
referenceInterface
.
q
.
inverse
();
relativeRotation
=
lambda
.
q
.
mult
(
relativeRotation
);
...
...
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