tried to get rid of warnings - unsuccessfully
This commit is contained in:
parent
a416ccd362
commit
56af4f4bef
3 changed files with 67 additions and 32 deletions
|
|
@ -404,7 +404,7 @@ void FEM_Matrix::CalculateLaplace_mult(vector<double> &f)
|
|||
auto const &ia = _mesh.GetConnectivity();
|
||||
auto const &xc = _mesh.GetCoords();
|
||||
|
||||
const vector<int> sd_vec = _mesh.ElementSubdomains;
|
||||
const vector<int> sd_vec = _mesh.ElementSubdomains();
|
||||
|
||||
#pragma omp parallel for private(ske,fe)
|
||||
for (int i = 0; i < nelem; ++i) {
|
||||
|
|
@ -498,7 +498,7 @@ void FEM_Matrix::AddMass_mult(vector<double> &f, const double scale_factor)
|
|||
auto const &ia = _mesh.GetConnectivity();
|
||||
auto const &xc = _mesh.GetCoords();
|
||||
|
||||
const vector<int> sd_vec = _mesh.ElementSubdomains;
|
||||
const vector<int> sd_vec = _mesh.ElementSubdomains();
|
||||
|
||||
#pragma omp parallel for private(ske,fe)
|
||||
for (int i = 0; i < nelem; ++i) {
|
||||
|
|
@ -620,9 +620,9 @@ void FEM_Matrix::ApplyDirichletBC(std::vector<double> const &u, std::vector<doub
|
|||
|
||||
void FEM_Matrix::ApplyRobinBC_mult(std::vector<double> &f, const double u_out)
|
||||
{
|
||||
auto const RobinEdges = _mesh.OuterEdges;
|
||||
auto const RobinEdgesSubdomains = _mesh.OuterEdgesSubdomains;
|
||||
auto const RobinEdgeNodes = _mesh.OuterEdgesNodes;
|
||||
auto const RobinEdges = _mesh.OuterEdges();
|
||||
auto const RobinEdgesSubdomains = _mesh.OuterEdgesSubdomains();
|
||||
auto const RobinEdgeNodes = _mesh.OuterEdgesNodes();
|
||||
assert(RobinEdgeNodes.size() == 2 * RobinEdges.size());
|
||||
|
||||
vector<double> const Coordinates = _mesh.GetCoords();
|
||||
|
|
@ -632,7 +632,7 @@ void FEM_Matrix::ApplyRobinBC_mult(std::vector<double> &f, const double u_out)
|
|||
int const subdomain = RobinEdgesSubdomains[i];
|
||||
double const alpha = Heat_transfer_coefficient(subdomain);
|
||||
|
||||
int const EdgeNumber = RobinEdges[i];
|
||||
//int const EdgeNumber = RobinEdges[i];
|
||||
|
||||
int const EdgeNode1 = RobinEdgeNodes[2*i];
|
||||
int const EdgeNode2 = RobinEdgeNodes[2*i + 1];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue