return arr->getName();
}
+void MEDFileField1TSWithoutDAS::setName(const char *name)
+{
+ DataArrayDouble *arr=getOrCreateAndGetArray();
+ arr->setName(name);
+}
+
void MEDFileField1TSWithoutDAS::simpleRepr(int bkOffset, std::ostream& oss, int f1tsId) const
{
std::string startOfLine(bkOffset,' ');
return _name;
}
+void MEDFileFieldMultiTSWithoutDAS::setName(const char *name)
+{
+ _name=name;
+}
+
void MEDFileFieldMultiTSWithoutDAS::simpleRepr(int bkOffset, std::ostream& oss, int fmtsId) const
{
std::string startLine(bkOffset,' ');
double getTime(int& iteration, int& order) const { iteration=_iteration; order=_order; return _dt; }
void setTime(double val, int iteration, int order) { _dt=val; _iteration=iteration; _order=order; }
std::string getName() const;
+ void setName(const char *name);
void simpleRepr(int bkOffset, std::ostream& oss, int f1tsId) const;
const std::string& getDtUnit() const { return _dt_unit; }
std::string getMeshName() const throw(INTERP_KERNEL::Exception);
std::vector< std::vector<DataArrayDouble *> > getFieldSplitedByType2(int iteration, int order, const char *mname, std::vector<INTERP_KERNEL::NormalizedCellType>& types, std::vector< std::vector<TypeOfField> >& typesF, std::vector< std::vector<std::string> >& pfls, std::vector< std::vector<std::string> >& locs) const throw(INTERP_KERNEL::Exception);
virtual void writeLL(med_idt fid) const throw(INTERP_KERNEL::Exception);
std::string getName() const;
+ void setName(const char *name);
void simpleRepr(int bkOffset, std::ostream& oss, int fmtsId) const;
std::vector< std::pair<int,int> > getTimeSteps(std::vector<double>& ret1) const throw(INTERP_KERNEL::Exception);
std::string getMeshName() const throw(INTERP_KERNEL::Exception);
newm1->setCoords(getCoords());
setMeshAtLevel(-1,newm1);
setFamilyFieldArr(-1,newFam);
- std::ostringstream famName; famName << "Family_" << idd;
std::string grpName2(grpNameM1); grpName2+="_dup";
- addFamily(famName.str().c_str(),idd);
- addFamilyOnGrp(grpName2.c_str(),famName.str().c_str());
+ addFamily(grpName2.c_str(),idd);
+ addFamilyOnGrp(grpName2.c_str(),grpName2.c_str());
//
fam=_fam_coords;
if(fam)
int getIteration() const;
int getOrder() const;
std::string getName();
+ void setName(const char *name);
std::string getMeshName();
int getNumberOfComponents() const;
bool isDealingTS(int iteration, int order) const;
public:
int getNumberOfTS() const;
std::string getName() const;
+ void setName(const char *name);
std::string getMeshName() const throw(INTERP_KERNEL::Exception);
const std::vector<std::string>& getInfo() const;
%extend