Lem
The Lem Plugin
inc
lemMechanicPoint.h
Go to the documentation of this file.
1
/************************************************************************
2
**
3
** Copyright (C) 2014 by Carlos Augusto Teixera Mendes
4
** All rights reserved.
5
**
6
** This file is part of the "GeMA" software. It's use should respect
7
** the terms in the license agreement that can be found together
8
** with this source code.
9
** It is provided AS IS, with NO WARRANTY OF ANY KIND,
10
** INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR
11
** A PARTICULAR PURPOSE.
12
**
13
************************************************************************/
14
25
#ifndef _GEMA_LEM_MECHANICALMATERIAL_POINT_H_
26
#define _GEMA_LEM_MECHANICALMATERIAL_POINT_H_
27
28
#include <
gmGaussAccessor.h
>
29
30
class
lemMechanicPoint
31
{
32
public
:
33
//enumarations
34
enum
state
35
{
36
elastic,
37
plastic,
38
softening,
39
un_reloading,
40
failure,
41
};
42
43
enum
stress
44
{
45
sxx = 1 << 0,
46
syy = 1 << 1,
47
szz = 1 << 2,
48
sxy = 1 << 3,
49
sxz = 1 << 4,
50
syz = 1 << 5,
51
last
52
};
53
54
enum
stressState
55
{
56
plane_strain,
57
plane_stress
58
};
59
60
//constructors
61
lemMechanicPoint
(
void
)
62
{
63
_index = 0;
64
_oldState = NULL;
65
_newState = NULL;
66
_oldStrain = NULL;
67
_newStrain = NULL;
68
_oldStress = NULL;
69
_newStress = NULL;
70
}
71
72
//destructor
73
virtual
~
lemMechanicPoint
(
void
)
74
{}
75
76
//attributes
77
unsigned
_index;
78
GmGaussAccessor
* _oldState;
79
GmGaussAccessor
* _newState;
80
GmGaussAccessor
* _oldStrain;
81
GmGaussAccessor
* _newStrain;
82
GmGaussAccessor
* _oldStress;
83
GmGaussAccessor
* _newStress;
84
};
85
86
//typedef GmpMechanicPoint::modellingSpace modellingSpace;
87
typedef
lemMechanicPoint::state materialPointStates;
88
typedef
lemMechanicPoint::stressState stressState;
89
90
#endif
GmGaussAccessor
lemMechanicPoint
Definition:
lemMechanicPoint.h:30
gmGaussAccessor.h
Generated on Mon Jun 10 2024 19:14:51 for Lem by
1.8.15