Skip to content
GitLab
Menu
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
3526bb0b
Commit
3526bb0b
authored
Jan 15, 2014
by
Praetorius, Simon
Browse files
demo for polarization ordering
parent
86fcec75
Changes
1
Hide whitespace changes
Inline
Side-by-side
extensions/base_problems/BaseProblem.hh
View file @
3526bb0b
...
...
@@ -95,10 +95,11 @@ Flag BaseProblem<ProblemType>::initDataFromFile(AdaptInfo *adaptInfo)
if
(
!
file_exists
(
filename
))
throw
(
std
::
runtime_error
(
"The file '"
+
filename
+
"' does not exist!"
));
std
::
vector
<
DOFVector
<
double
>*>
solutions
;
for
(
int
i
=
0
;
i
<
prob
->
getNumComponents
();
i
++
)
solutions
.
push_back
(
prob
->
getSolution
()
->
getDOFVector
(
i
));
ArhReader
::
read
(
filename
,
prob
->
getMesh
(),
solutions
);
// std::vector<DOFVector<double>*> solutions;
// for (int i = 0; i < prob->getNumComponents(); i++)
// solutions.push_back(prob->getSolution()->getDOFVector(i));
// ArhReader::read(filename, prob->getMesh(), solutions);
readFile
(
filename
,
prob
->
getSolution
());
}
else
if
(
readFormat
==
"dat"
)
{
...
...
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