Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
0a04ce18
Commit
0a04ce18
authored
Dec 19, 2016
by
Timo Koch
Browse files
[model] Remove unused default vtk output
parent
68ea94ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/implicit/model.hh
View file @
0a04ce18
...
...
@@ -682,34 +682,7 @@ public:
template
<
class
MultiWriter
>
void
addOutputVtkFields
(
const
SolutionVector
&
sol
,
MultiWriter
&
writer
)
{
typedef
Dune
::
BlockVector
<
Dune
::
FieldVector
<
Scalar
,
1
>
>
ScalarField
;
// create the required scalar fields
unsigned
numDofs
=
asImp_
().
numDofs
();
// global defect of the two auxiliary equations
ScalarField
*
x
[
numEq
];
for
(
int
eqIdx
=
0
;
eqIdx
<
numEq
;
++
eqIdx
)
{
x
[
eqIdx
]
=
writer
.
allocateManagedBuffer
(
numDofs
);
}
for
(
int
dofIdxGlobal
=
0
;
dofIdxGlobal
<
sol
.
size
();
dofIdxGlobal
++
)
{
for
(
int
eqIdx
=
0
;
eqIdx
<
numEq
;
++
eqIdx
)
{
(
*
x
[
eqIdx
])[
dofIdxGlobal
]
=
sol
[
dofIdxGlobal
][
eqIdx
];
}
}
for
(
int
eqIdx
=
0
;
eqIdx
<
numEq
;
++
eqIdx
)
{
std
::
ostringstream
oss
;
oss
<<
"primaryVar_"
<<
eqIdx
;
if
(
isBox
)
writer
.
attachVertexData
(
*
x
[
eqIdx
],
oss
.
str
());
else
writer
.
attachCellData
(
*
x
[
eqIdx
],
oss
.
str
());
}
}
{}
/*!
* \brief Reference to the grid view of the spatial domain.
...
...
Write
Preview
Supports
Markdown
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