7 template<
int spacedim,
class Value>
12 for (
unsigned long index=0; index < multi_field.
size(); index++) {
18 template<
int spacedim,
class Value>
20 const RefType ref_type,
24 string name_ = field->
name();
26 unsigned int item_count = 0, comp_count = 0, node_id;
34 if(!stream_name_iter) {
39 OutputTime *output_time = OutputTime::output_stream_by_name(*stream_name_iter);
42 if(output_time == NULL || output_time->
rank != 0) {
50 if(output_time->
get_mesh() == NULL) {
60 output_data = output_time->output_data_by_field((
FieldCommonBase*)field,
71 item_count += ele->n_nodes();
79 if(output_data == NULL) {
95 throw "Try to register unsupported data type.";
100 output_time->
node_data.push_back(output_data);
106 output_time->
elem_data.push_back(output_data);
111 unsigned int *count =
new unsigned int[item_count];
118 for(node_id=0; node_id<item_count; node_id++) {
138 node = ele->node[node_id];
158 for(node_id=0; node_id<item_count; node_id++) {
178 node = ele->node[node_id];
218 if(output_time->
time < field->
time()) {