improved setup for simulation (ii) and (iii)
This commit is contained in:
parent
9392099296
commit
d8fc085d57
4 changed files with 5443 additions and 85 deletions
|
|
@ -637,8 +637,8 @@ void FEM_Matrix::ApplyRobinBC_mult(std::vector<double> &f, const double u_out)
|
|||
int const EdgeNode1 = RobinEdgeNodes[2*i];
|
||||
int const EdgeNode2 = RobinEdgeNodes[2*i + 1];
|
||||
|
||||
cout << "Edge number " << EdgeNumber << ", subdomain: " << subdomain << " ";
|
||||
cout << "Node1: " << EdgeNode1 << " Node2: " << EdgeNode2 << " " << endl;
|
||||
// cout << "Edge number " << EdgeNumber << ", subdomain: " << subdomain << " ";
|
||||
// cout << "Node1: " << EdgeNode1 << " Node2: " << EdgeNode2 << " " << endl;
|
||||
|
||||
double x_1 = Coordinates[2*EdgeNode1];
|
||||
double y_1 = Coordinates[2*EdgeNode1 + 1];
|
||||
|
|
@ -653,7 +653,7 @@ void FEM_Matrix::ApplyRobinBC_mult(std::vector<double> &f, const double u_out)
|
|||
int ij = fetch(EdgeNode1, EdgeNode2);
|
||||
int ji = fetch(EdgeNode2, EdgeNode1);
|
||||
|
||||
cout << "ii: " << ii << ", jj: " << jj << ", ij: " << ij << ", ji: " << ji << endl;
|
||||
//cout << "ii: " << ii << ", jj: " << jj << ", ij: " << ij << ", ji: " << ji << endl;
|
||||
|
||||
_sk[ii] += EdgeLength*alpha/3;
|
||||
_sk[jj] += EdgeLength*alpha/3;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue