Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F94169717
dumper_restart.cc
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Dec 4, 11:01
Size
2 KB
Mime Type
text/x-c
Expires
Fri, Dec 6, 11:01 (2 d)
Engine
blob
Format
Raw Data
Handle
22543110
Attached To
rAKA akantu
dumper_restart.cc
View Options
/**
* @file dumper_restart.cc
*
* @author Guillaume Anciaux <guillaume.anciaux@epfl.ch>
*
* @date creation: Thu Mar 11 2010
* @date last modification: Thu Dec 06 2012
*
* @brief implementation for restart dumper
*
* @section LICENSE
*
* Copyright (©) 2010-2012, 2014 EPFL (Ecole Polytechnique Fédérale de Lausanne)
* Laboratory (LSMS - Laboratoire de Simulation en Mécanique des Solides)
*
* IOHelper is free software: you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option) any
* later version.
*
* IOHelper is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
* A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with IOHelper. If not, see <http://www.gnu.org/licenses/>.
*
*/
/* -------------------------------------------------------------------------- */
#include <iomanip>
#include "dumper_restart.hh"
/* -------------------------------------------------------------------------- */
#if defined(__INTEL_COMPILER)
/// remark #981: operands are evaluated in unspecified order
#pragma warning ( disable : 981 )
#endif
//defined(__INTEL_COMPILER)
__BEGIN_IOHELPER__
/* -------------------------------------------------------------------------- */
void
DumperRestart
::
dump
(
__attribute__
((
unused
))
const
std
::
string
&
basename
){
/* nodal data */
std
::
map
<
std
::
string
,
FieldInterface
*>::
iterator
it
=
per_node_data
.
begin
();
std
::
map
<
std
::
string
,
FieldInterface
*>::
iterator
end
=
per_node_data
.
end
();
for
(;
it
!=
end
;
++
it
)
{
(
*
it
).
second
->
accept
(
*
this
);
}
/* element data */
it
=
per_element_data
.
begin
();
end
=
per_element_data
.
end
();
for
(;
it
!=
end
;
++
it
)
{
(
*
it
).
second
->
accept
(
*
this
);
}
this
->
incDumpStep
();
}
/* -------------------------------------------------------------------------- */
__END_IOHELPER__
/* -------------------------------------------------------------------------- */
Event Timeline
Log In to Comment