Last change
on this file was 23588, checked in by Mathieu Morlighem, 6 years ago |
CHG: removing IsAnalysis now that each constraint, node and load is in an analysis specific dataset
|
File size:
764 bytes
|
Line | |
---|
1 | /*!\file: Constraint.h
|
---|
2 | * \brief abstract class for Constraint object
|
---|
3 | * This class is a place holder for constraints
|
---|
4 | * It is derived from Object, so DataSets can contain them.
|
---|
5 | */
|
---|
6 |
|
---|
7 | #ifndef _CONSTRAINT_H_
|
---|
8 | #define _CONSTRAINT_H_
|
---|
9 |
|
---|
10 | /*Headers:*/
|
---|
11 | /*{{{*/
|
---|
12 | class Nodes;
|
---|
13 | #include "../../datastructures/datastructures.h"
|
---|
14 | #include "../../toolkits/toolkits.h"
|
---|
15 | /*}}}*/
|
---|
16 |
|
---|
17 | class Constraint: public Object{
|
---|
18 |
|
---|
19 | public:
|
---|
20 |
|
---|
21 | virtual ~Constraint(){};
|
---|
22 | virtual void ActivatePenaltyMethod(void)=0;
|
---|
23 | virtual void ConstrainNode(Nodes* nodes,Parameters* parameters)=0;
|
---|
24 | virtual void PenaltyDofAndValue(int* dof,IssmDouble* value,Nodes* nodes,Parameters* parameters)=0;
|
---|
25 | virtual void InputUpdateFromVectorDakota(IssmDouble* vector,Nodes* nodes,int name,int type) = 0;
|
---|
26 |
|
---|
27 | };
|
---|
28 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.