Skip to content
Snippets Groups Projects

new loads

Merged Boman Romain requested to merge loads into master
111 files
+ 2119
1050
Compare changes
  • Side-by-side
  • Inline
Files
111
+ 10
10
@@ -67,8 +67,8 @@ void Solver::solve()
create_partition();
fill_partition();
fill_rhs();
fill_lhs();
fill_rhs();
apply_bc();
solve_static();
@@ -206,11 +206,11 @@ void Solver::fill_partition()
std::cout << "\telasped = " << timers["fill_partition"].read() << "s\n";
}
/// fill right-hand side of the system of equations
/// fill left-hand side of the system of equations
void Solver::fill_rhs()
void Solver::fill_lhs()
{
timers["fill_rhs"].start();
timers["fill_lhs"].start();
std::cout << "assembly of LHS...\n";
@@ -527,15 +527,15 @@ void Solver::fill_rhs()
for (size_t j = 0; j < Kijv[i].size(); ++j)
delete Kijv[i][j];
timers["fill_rhs"].stop();
std::cout << "\telasped = " << timers["fill_rhs"].read() << "s\n";
timers["fill_lhs"].stop();
std::cout << "\telasped = " << timers["fill_lhs"].read() << "s\n";
}
/// compute right-hand side 'f' (sources)
void Solver::fill_lhs()
void Solver::fill_rhs()
{
timers["fill_lhs"].start();
timers["fill_rhs"].start();
std::cout << "assembly of RHS...\n";
@@ -627,8 +627,8 @@ void Solver::fill_lhs()
}
}
timers["fill_lhs"].stop();
std::cout << "\telasped = " << timers["fill_lhs"].read() << "s\n";
timers["fill_rhs"].stop();
std::cout << "\telasped = " << timers["fill_rhs"].read() << "s\n";
}
Loading