// GenFem - A high-level finite element library
// Copyright (C) 2010-2026 Eric Bechet
//
// See the LICENSE file for license information and contributions.
// Please report all bugs and problems to <bechet@cadxfem.org>.

#ifndef _INTERFACE_XFEM_DOMAIN_H_
#define _INTERFACE_XFEM_DOMAIN_H_

#include <string>
#include <vector>

#include "genSupports.h"
#include "genTerm.h"
#include "genTensors.h"
#include "genDataIO.h"
#include "genMatrix.h"
#include "savedGenTerm.h"


class InterfaceDomain : public genSupport
{
public :
  genTensor0<double> k; // stiffness

public :
  InterfaceDomain(const genDomain &s)
  {
    dim=s.dim;
    tag=s.tag;
    k=s.Scalars.find("K")->second;
  }

  InterfaceDomain() : genSupport(), k(0.) {}
  InterfaceDomain(const InterfaceDomain &other) : genSupport(other), k(other.k) {}
  virtual ~InterfaceDomain() {}
};


#endif// _INTERFACE_XFEM_DOMAIN_H_
