Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
iwr
amdis
Commits
34dd5b2f
Commit
34dd5b2f
authored
Jan 04, 2010
by
Thomas Witkowski
Browse files
Merged two AMDiS directories, no changes.
parent
99ad7c08
Changes
3
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/DOFAdmin.cc
View file @
34dd5b2f
...
...
@@ -180,10 +180,8 @@ namespace AMDiS {
std
::
list
<
DOFIndexedBase
*>::
iterator
di
;
for
(
di
=
dofIndexedList
.
begin
();
di
!=
dofIndexedList
.
end
();
++
di
)
if
((
*
di
)
->
getSize
()
<
newval
)
{
if
((
*
di
)
->
getSize
()
<
newval
)
(
*
di
)
->
resize
(
newval
);
std
::
cout
<<
"RESIE WITH "
<<
(
*
di
)
->
getSize
()
<<
" "
<<
newval
<<
std
::
endl
;
}
}
void
DOFAdmin
::
addDOFIndexed
(
DOFIndexedBase
*
dofIndexed
)
...
...
AMDiS/src/DOFVector.hh
View file @
34dd5b2f
...
...
@@ -71,10 +71,9 @@ namespace AMDiS {
DOFVectorBase
<
T
>::
DOFVectorBase
(
const
FiniteElemSpace
*
f
,
std
::
string
n
)
:
feSpace
(
f
),
name
(
n
),
//
elementVector(f->getBasisFcts()->getNumber()),
elementVector
(
f
->
getBasisFcts
()
->
getNumber
()),
boundaryManager
(
NULL
)
{
/*
{
nBasFcts
=
feSpace
->
getBasisFcts
()
->
getNumber
();
dim
=
feSpace
->
getMesh
()
->
getDim
();
...
...
@@ -90,8 +89,7 @@ namespace AMDiS {
grdPhis
[
i
]
=
new
DimVec
<
double
>
(
dim
,
DEFAULT_VALUE
,
0.0
);
grdTmp
[
i
]
=
new
DimVec
<
double
>
(
dim
,
DEFAULT_VALUE
,
0.0
);
D2Phis
[
i
]
=
new
DimMat
<
double
>
(
dim
,
NO_INIT
);
}
*/
}
}
template
<
typename
T
>
...
...
@@ -118,11 +116,11 @@ namespace AMDiS {
template
<
typename
T
>
void
DOFVector
<
T
>::
init
(
const
FiniteElemSpace
*
f
,
std
::
string
n
)
{
//
this->name = n;
//
this->feSpace = f;
//
if (this->feSpace && this->feSpace->getAdmin())
//
(this->feSpace->getAdmin())->addDOFIndexed(this);
//
this->boundaryManager = new BoundaryManager(f);
this
->
name
=
n
;
this
->
feSpace
=
f
;
if
(
this
->
feSpace
&&
this
->
feSpace
->
getAdmin
())
(
this
->
feSpace
->
getAdmin
())
->
addDOFIndexed
(
this
);
this
->
boundaryManager
=
new
BoundaryManager
(
f
);
}
template
<
typename
T
>
...
...
AMDiS/src/Mesh.cc
View file @
34dd5b2f
...
...
@@ -1130,8 +1130,8 @@ namespace AMDiS {
// If there is no value file which should be written, we can delete
// the information of the macro file.
//
if (!valueFilename.length())
//
clearMacroFileInfo();
if
(
!
valueFilename
.
length
())
clearMacroFileInfo
();
}
initialized
=
true
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment