source: issm/trunk-jpl/src/c/classes/Constraints/Constraint.h

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
RevLine 
[9002]1/*!\file: Constraint.h
2 * \brief abstract class for Constraint object
[9285]3 * This class is a place holder for constraints
[9002]4 * It is derived from Object, so DataSets can contain them.
5 */
6
7#ifndef _CONSTRAINT_H_
8#define _CONSTRAINT_H_
9
10/*Headers:*/
[12365]11/*{{{*/
[12200]12class Nodes;
[15067]13#include "../../datastructures/datastructures.h"
[15012]14#include "../../toolkits/toolkits.h"
[9002]15/*}}}*/
16
17class Constraint: public Object{
18
19 public:
[13623]20
[9002]21 virtual ~Constraint(){};
[18931]22 virtual void ActivatePenaltyMethod(void)=0;
[9002]23 virtual void ConstrainNode(Nodes* nodes,Parameters* parameters)=0;
[18344]24 virtual void PenaltyDofAndValue(int* dof,IssmDouble* value,Nodes* nodes,Parameters* parameters)=0;
[22200]25 virtual void InputUpdateFromVectorDakota(IssmDouble* vector,Nodes* nodes,int name,int type) = 0;
[9002]26
27};
28#endif
Note: See TracBrowser for help on using the repository browser.