You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
558 B
30 lines
558 B
#pragma once
|
|
#include <Eigen/Core>
|
|
#include <Eigen/Dense>
|
|
#include <iostream>
|
|
#include <vector>
|
|
#include <map>
|
|
#include <set>
|
|
|
|
namespace SIM
|
|
{
|
|
class bgMeshEle2D
|
|
{
|
|
public:
|
|
int id;
|
|
Eigen::VectorXd leftBotCoor, rightUpCoor, centerCoor;
|
|
};
|
|
class bgMesh2D
|
|
{
|
|
public:
|
|
int col, row;
|
|
Eigen::VectorXd leftBotCoor, rightUpCoor;
|
|
|
|
std::vector<bgMeshEle2D> MeshEles;
|
|
|
|
public:
|
|
bgMesh2D(int col_, int row_,
|
|
Eigen::VectorXd leftBotCoor_, Eigen::VectorXd rightUpCoor_);
|
|
};
|
|
|
|
}
|