// GenTextile - A composite textile generator
// Copyright (C) 2011-2026 Eric Bechet, Frederic Duboeuf
//
// See the LICENSE file for license information and contributions.
// Please report all bugs and problems to <bechet@cadxfem.org> or <duboeuf@outlook.com>.


#ifndef _GENTEXTIL_H_
#define _GENTEXTIL_H_

#include <memory>
#include "genSolver.h"
#include "genDataT.h"
#include "CompositeTextile.h"


class TSolver : public genSolver
{
protected :
  genDataT* DataT;

  // Tisse
  Tisse* tisse;
//   std::vector<gLevelsetFils*> fils;
  
  // model name
  std::string modelname;

public :
  TSolver() : tisse(0) {DataT = new genDataT; Data = DataT;}
  virtual ~TSolver();
  //read data file
  virtual void readInputFile(const std::string &fileName);
  // builds local supports
  virtual void CheckProperties();

  // export modelname.lsn in file
  virtual void exportT(const std::string &fileName );
};

#endif //_GENTEXTIL_H_