9#ifndef meshImport2Dgeneral_hh
10#define meshImport2Dgeneral_hh
23 enum types {ATTRIBUTES, EDGCORR, EDGRADIA, DEFFILE};
26 const enum types type()
const {
return type_; }
27 const std::string name()
const {
return name_; }
210 virtual std::ostream&
info(std::ostream&
os)
const;
221 std::vector<uint> KeyVector_;
223 bool is_paired_(
const uint key,
const uint a)
const;
233 void vtxcorr_(
const std::string
vtxcorr);
234 void edgcorr_(
const std::string
edgcorr);
248 std::vector<MappingEdge2d*> edges_vec_;
Base class for File type recognition.
virtual void createEntity_(const MultiIndex< 1 > &idx)
Creation of topological entities.
Import2dMeshGeneral(const std::string coord, const std::string elms, const File file, const uint idxStart=1)
virtual void createCell_(const MultiIndex< 4 > &idx)
Creation of geometrical cells with element mapping.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
MultiArray< 2, Real > EdgRadia_
Mapping from edge to the radius of arcs.
bool has_EdgCorr_
Flags for special properties.
virtual void createEntity_(const MultiIndex< 3 > &idx)
virtual void createEntity_(const MultiIndex< 1 > &idx)
Creation of topological entities.
void construct_(const Array< const File * > files)
Reads the special files.
virtual void createCell_(const MultiIndex< 3 > &idx)
Creation of geometrical cells with element mapping.
void edgradia_(std::string edgradia)
Reads edge radia file and writes to EdgRadia_.
MultiArray< 2, MultiIndex< 2 > > EdgCorr_
Mapping from edge to correlated one.
void delete_()
Clears indermediate data after construction of the mesh.
std::multimap< uint, uint > VtxCorr_
Mapping from vertex to correlated ones, could be more.
Import2dMeshGeneral * import2dMeshGeneralFromInput(const InOutParameters input, bool verbose=false)
Set< F > makeSet(uint n, const F &first,...)