Finite Element Domain Decomposition Library
FEDDLib
Toggle main menu visibility
Loading...
Searching...
No Matches
AssembleFE_NonLinElas_decl.hpp
1
#ifndef ASSEMBLEFE_NONLINELAS_DECL_hpp
2
#define ASSEMBLEFE_NONLINELAS_DECL_hpp
3
4
#include "feddlib/core/AceFemAssembly/AssembleFE.hpp"
5
#include "feddlib/core/FEDDCore.hpp"
6
#include "feddlib/core/LinearAlgebra/Matrix.hpp"
7
#include "feddlib/core/LinearAlgebra/MultiVector.hpp"
8
9
namespace
FEDD
{
10
11
template
<
class
SC = default_sc,
class
LO = default_lo,
class
GO = default_go,
class
NO = default_no>
12
class
AssembleFE_NonLinElas
:
public
AssembleFE
<SC,LO,GO,NO> {
13
public
:
14
15
typedef
Matrix<SC,LO,GO,NO>
Matrix_Type;
16
typedef
Teuchos::RCP<Matrix_Type> MatrixPtr_Type;
17
18
typedef
SmallMatrix<SC>
SmallMatrix_Type;
19
typedef
Teuchos::RCP<SmallMatrix_Type> SmallMatrixPtr_Type;
20
21
typedef
MultiVector<SC,LO,GO,NO>
MultiVector_Type;
22
typedef
Teuchos::RCP<MultiVector_Type> MultiVectorPtr_Type;
23
24
typedef
AssembleFE<SC,LO,GO,NO>
AssembleFE_Type;
25
26
31
void
assembleJacobian
()
override
;
32
37
void
assembleRHS
()
override
;
38
43
void
assembleJacobianBlock
(LO i)
override
{}
48
void
updateParameter
(std::string type,
double
value)
override
;
49
50
protected
:
51
AssembleFE_NonLinElas
(
int
flag, vec2D_dbl_Type nodesRefConfig, ParameterListPtr_Type parameters, tuple_disk_vec_ptr_Type tuple);
52
private
:
53
54
void
assemblyNonLinElas(SmallMatrixPtr_Type &elementMatrix);
55
56
friend
class
AssembleFEFactory
<SC,LO,GO,NO>;
// Must have for specfic classes
57
58
59
double
E_ ;
60
double
lambda_;
61
double
poissonRatio_;
62
std::string FEType_ ;
// FEType of Disk
63
64
int
dofs_ ;
// Degrees of freedom per node
65
66
int
numNodes_ ;
// Number of nodes of element
67
68
int
dofsElement_;
// "Dimension of return matrix"
69
70
};
71
72
}
73
#endif
74
FEDD::AssembleFEFactory
This class allows for constructing AssembleFE objects.
Definition
AssembleFEFactory_decl.hpp:36
FEDD::AssembleFE_NonLinElas::updateParameter
void updateParameter(std::string type, double value) override
Update the parameter read from the ParameterList.
Definition
AssembleFE_NonLinElas_def.hpp:174
FEDD::AssembleFE_NonLinElas::assembleRHS
void assembleRHS() override
Assemble the element right hand side vector.
Definition
AssembleFE_NonLinElas_def.hpp:131
FEDD::AssembleFE_NonLinElas::AssembleFE_NonLinElas
AssembleFE_NonLinElas(int flag, vec2D_dbl_Type nodesRefConfig, ParameterListPtr_Type parameters, tuple_disk_vec_ptr_Type tuple)
Constructor for AssembleFE_NonLinElas.
Definition
AssembleFE_NonLinElas_def.hpp:22
FEDD::AssembleFE_NonLinElas::assembleJacobian
void assembleJacobian() override
Assemble the element Jacobian matrix.
Definition
AssembleFE_NonLinElas_def.hpp:49
FEDD::AssembleFE_NonLinElas::assembleJacobianBlock
void assembleJacobianBlock(LO i) override
Assemble the element Jacobian matrix.
Definition
AssembleFE_NonLinElas_decl.hpp:43
FEDD::AssembleFE< default_sc, default_lo, default_go, default_no >::AssembleFE
AssembleFE(int flag, vec2D_dbl_Type nodesRefConfig, ParameterListPtr_Type parameters, tuple_disk_vec_ptr_Type tuple)
Definition
AssembleFE_def.hpp:8
FEDD::Matrix
Definition
Matrix_decl.hpp:30
FEDD::MultiVector
Definition
MultiVector_decl.hpp:61
FEDD::SmallMatrix
This class represents a templated small Matrix of type T. Primarily created for 2x2 and 3x3 matrices....
Definition
SmallMatrix.hpp:20
FEDD
Adaptive Mesh Refinement.
Definition
AdaptiveMeshRefinement_decl.hpp:36
feddlib
core
AceFemAssembly
specific
AssembleFE_NonLinElas_decl.hpp
Generated by
1.17.0