NPLinearConstraintsT.cc 1.5 KB
Newer Older
Jan Möbius's avatar
Jan Möbius committed
1
2
3
4
5
6
7
8
9
10
11
//=============================================================================
//
//  CLASS NPLinearConstraints
//
//=============================================================================

#define COMISO_NSOLVERGMMINTERFACE_C

//== INCLUDES =================================================================

#include <CoMISo/Config/CoMISoDefines.hh>
12
#include <CoMISo/Utils/gmm.h>
Jan Möbius's avatar
Jan Möbius committed
13
14
15
16
#include "NProblemGmmInterface.hh"
#include "LinearConstraintHandlerElimination.hh"
#include "LinearConstraintHandlerPenalty.hh"
//#include "LinearConstraintHandlerLagrange.hh"
17
#include "NPLinearConstraints.hh"
Jan Möbius's avatar
Jan Möbius committed
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

//== FORWARDDECLARATIONS ======================================================

//== NAMESPACES ===============================================================

namespace COMISO {

//== CLASS DEFINITION =========================================================

// initialize constraints
template<class MatrixT, class VectorT>
void NPLinearConstraintsElimination::initialize_constraints( const MatrixT& _C, const VectorT& _c)
{
    initialize(_C, _c);
    cache_initialized_ = false;
}

//=============================================================================

// initialize constraints
template<class MatrixT, class VectorT>
void NPLinearConstraintsPenalty::initialize_constraints( const MatrixT& _C, const VectorT& _c)
{
    initialize(_C, _c);
}


//=============================================================================
} // namespace ACG
//=============================================================================