Skip to content

Commit

Permalink
Update Domain.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhiyua-Ma authored Jun 20, 2024
1 parent a433591 commit 4b4da6c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/h/Domain.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ class CDomain

//! Global nodal force/displacement vector
double* Force;
// 问题维度
unsigned int Dimension;

private:

Expand Down Expand Up @@ -156,4 +158,7 @@ class CDomain
//! Return pointer to the banded stiffness matrix
inline CSkylineMatrix<double>* GetStiffnessMatrix() { return StiffnessMatrix; }

//! Return the dimension of the problem
inline unsigned int GetDimension() { return Dimension; }

};

0 comments on commit 4b4da6c

Please sign in to comment.