// 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>.


#include "GmshGlobal.h"
#include "genTextile.h"
#include "PView.h"
#include "PViewData.h"
#include "groupOfElements.h"
#include <iterator>
//#include "function.h"
#include "fullMatrix.h"

int main (int argc, char* argv[])
{

  if (argc != 2){
    printf("usage : elasticity input_file_name\n");
    return -1;
  }

  GmshInitialize(argc, argv);
  // globals are still present in Gmsh

  // GmshSetOption("General","Terminal",1.);

  // instanciate a solver
  TSolver mySolver;

  // read some input file
  mySolver.readInputFile(argv[1]);

  // solve the problem
  mySolver.exportT(argv[1]);

  // stop gmsh
  GmshFinalize();
}
