File: Constraint.h

package info (click to toggle)
madlib 1.3.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,196 kB
  • sloc: cpp: 39,851; sh: 10,041; makefile: 473
file content (49 lines) | stat: -rw-r--r-- 1,422 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// -*- C++ -*-
// -------------------------------------------------------------------
// MAdLib - Copyright (C) 2008-2009 Universite catholique de Louvain
//
// See the Copyright.txt and License.txt files for license information. 
// You should have received a copy of these files along with MAdLib. 
// If not, see <http://www.madlib.be/license/>
//
// Please report all bugs and problems to <contrib@madlib.be>
//
// Authors: Gaetan Compere, Jean-Francois Remacle
// -------------------------------------------------------------------

#ifndef _H_CONSTRAINT
#define _H_CONSTRAINT

#include "MeshDataBaseInterface.h"

namespace MAd {

  // -------------------------------------------------------------------

  // --- entity level constraining ---

  void EN_constrain   (pEntity);
  void EN_unconstrain (pEntity);
  bool EN_constrained (pEntity);

  // --- mesh level constraining ---

#ifdef PARALLEL
  // Constrain parallel interface elements 
  void UpdateParallelConstraint(pMesh mesh);
  // unConstrain parallel interface elements
  void DeleteParallelConstraint(pMesh mesh);
#endif

  // Constrain periodic interface elements
  void UpdatePeriodicConstraint3d(pMesh mesh);
  void UpdatePeriodicConstraint2d(pMesh mesh);

  // Remove all constraints on elements (periodic, parallel and misc.)
  void DeleteConstraint(pMesh mesh);

  // -------------------------------------------------------------------

}

#endif