91 auto it=std::find_if(od_vec.begin(), od_vec.end(),
92 [&field_name](
OutputDataPtr ptr) {
return (ptr->field_input_name() == field_name); });
93 if (
it == od_vec.end() ) {
94 od_vec.push_back( std::make_shared<
ElementDataCache<T> >(field_name, n_rows, n_cols, size[space_type]) );
ElementDataCache< T > & prepare_compute_data(std::string field_name, DiscreteSpace space_type, unsigned int n_rows, unsigned int n_cols)
Classes for auxiliary output mesh.
std::shared_ptr< OutputMesh > output_mesh_
Output mesh.
std::shared_ptr< OutputMeshDiscontinuous > output_mesh_discont_
Discontinuous (non-conforming) mesh. Used for CORNER_DATA.
std::shared_ptr< ElementDataCacheBase > OutputDataPtr
static const unsigned int N_DISCRETE_SPACES
void compute_discontinuous_output_mesh()
Class OutputElement and its iterator OutputElementIterator on the output mesh.
OutputDataFieldVec output_data_vec_[N_DISCRETE_SPACES]