Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
amdis
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Backofen, Rainer
amdis
Commits
79bcb0ed
Commit
79bcb0ed
authored
Feb 09, 2012
by
Thomas Witkowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a sequential problem in ARH reader.
parent
09c533ad
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
5 deletions
+18
-5
AMDiS/src/io/ArhReader.h
AMDiS/src/io/ArhReader.h
+8
-0
AMDiS/src/parallel/ElementObjectData.cc
AMDiS/src/parallel/ElementObjectData.cc
+4
-2
AMDiS/src/parallel/ElementObjectData.h
AMDiS/src/parallel/ElementObjectData.h
+6
-3
No files found.
AMDiS/src/io/ArhReader.h
View file @
79bcb0ed
...
...
@@ -36,12 +36,20 @@ namespace AMDiS {
DOFVector
<
double
>*
vec0
=
NULL
,
DOFVector
<
double
>*
vec1
=
NULL
,
DOFVector
<
double
>*
vec2
=
NULL
,
#ifdef HAVE_PARALLEL_DOMAIN_AMDIS
bool
writeParallel
=
true
,
#else
bool
writeParallel
=
false
,
#endif
int
nProcs
=
-
1
);
static
void
read
(
string
filename
,
Mesh
*
mesh
,
vector
<
DOFVector
<
double
>*>
vecs
,
#ifdef HAVE_PARALLEL_DOMAIN_AMDIS
bool
writeParallel
=
true
,
#else
bool
writeParallel
=
false
,
#endif
int
nProcs
=
-
1
);
static
int
getNumValueVectors
(
string
filename
)
...
...
AMDiS/src/parallel/ElementObjectData.cc
View file @
79bcb0ed
...
...
@@ -290,8 +290,10 @@ namespace AMDiS {
pair
<
DegreeOfFreedom
,
DegreeOfFreedom
>
testVertex
=
make_pair
(
it
->
first
.
second
,
it
->
first
.
first
);
TEST_EXIT_DBG
(
periodicVertices
.
count
(
testVertex
)
==
1
)(
"Should not happen!
\n
"
);
TEST_EXIT_DBG
(
periodicVertices
[
testVertex
]
==
it
->
second
)(
"Should not happen!
\n
"
);
TEST_EXIT_DBG
(
periodicVertices
.
count
(
testVertex
)
==
1
)
(
"Should not happen!
\n
"
);
TEST_EXIT_DBG
(
periodicVertices
[
testVertex
]
==
it
->
second
)
(
"Should not happen!
\n
"
);
}
for
(
PerBoundMap
<
DofEdge
>::
iterator
it
=
periodicEdges
.
begin
();
...
...
AMDiS/src/parallel/ElementObjectData.h
View file @
79bcb0ed
...
...
@@ -315,7 +315,8 @@ namespace AMDiS {
}
/// Returns a vector with all macro elements that have a given vertex DOF in common.
/// Returns a vector with all macro elements that have a given vertex DOF
/// in common.
vector
<
ElementObjectData
>&
getElements
(
DegreeOfFreedom
vertex
)
{
return
vertexElements
[
vertex
];
...
...
@@ -334,7 +335,8 @@ namespace AMDiS {
}
/// Returns a vector with all macro elements that have a given vertex DOF in common.
/// Returns a vector with all macro elements that have a given vertex DOF
/// in common.
vector
<
ElementObjectData
>&
getElementsVertex
(
int
elIndex
,
int
ithVertex
)
{
ElementObjectData
elObj
(
elIndex
,
ithVertex
);
...
...
@@ -506,7 +508,8 @@ namespace AMDiS {
void
deserialize
(
istream
&
in
,
map
<
int
,
ElementObjectData
>&
data
);
private:
/// The mesh that is used to store all its element information in the database.
/// The mesh that is used to store all its element information in
/// the database.
Mesh
*
mesh
;
/// Maps to each vertex DOF all element objects that represent this vertex.
...
...
Write
Preview
Markdown
is supported
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