To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 3dfd9105 authored by Bastian Telgen's avatar Bastian Telgen
Browse files

change to asThAT

parent 63a9325a
......@@ -17,7 +17,7 @@
#include "ae108/cpppetsc/Mesh.h"
#include "ae108/cpppetsc/ParallelComputePolicy.h"
#include "ae108/cpppetsc/Vector.h"
#include "ae108/cpppetsc/asTransformedMatrix.h"
#include "ae108/cpppetsc/asThAT.h"
#include "ae108/cpppetsc/asTransposedMatrix.h"
#include "ae108/cpppetsc/computeElementsOfMatrix.h"
#include "ae108/cppslepc/Context.h"
......
......@@ -28,7 +28,7 @@
#include "ae108/cpppetsc/ParallelComputePolicy.h"
#include "ae108/cpppetsc/Vector.h"
#include "ae108/cpppetsc/Viewer.h"
#include "ae108/cpppetsc/asTransformedMatrix.h"
#include "ae108/cpppetsc/asThAT.h"
#include "ae108/cpppetsc/asTransposedMatrix.h"
#include "ae108/cpppetsc/computeElementsOfMatrix.h"
#include "ae108/cpppetsc/createVectorFromSource.h"
......@@ -192,8 +192,8 @@ int main(int argc, char **argv) {
}(wave_vector);
auto Tt = cpppetsc::asTransposedMatrix(&T);
const auto KT = cpppetsc::asTransformedMatrix(&K, &Tt);
const auto MT = cpppetsc::asTransformedMatrix(&M, &Tt);
const auto KT = cpppetsc::asThAT(&K, &Tt);
const auto MT = cpppetsc::asThAT(&M, &Tt);
const auto result = cppslepc::computeGeneralizedEigenvaluesWithSINVERT(
cpppetsc::computeElementsOfMatrix(KT),
......
......@@ -18,7 +18,7 @@
#include "ae108/cpppetsc/Mesh.h"
#include "ae108/cpppetsc/ParallelComputePolicy.h"
#include "ae108/cpppetsc/Vector.h"
#include "ae108/cpppetsc/asTransformedMatrix.h"
#include "ae108/cpppetsc/asThAT.h"
#include "ae108/cpppetsc/asTransposedMatrix.h"
#include "ae108/cpppetsc/computeElementsOfMatrix.h"
#include "ae108/cppslepc/Context.h"
......@@ -226,8 +226,8 @@ int main(int argc, char **argv) {
// Transform mass and stiffness matrix (eq. 13)
auto Tt = cpppetsc::asTransposedMatrix(&T);
const auto KT = cpppetsc::asTransformedMatrix(&K, &Tt);
const auto MT = cpppetsc::asTransformedMatrix(&M, &Tt);
const auto KT = cpppetsc::asThAT(&K, &Tt);
const auto MT = cpppetsc::asThAT(&M, &Tt);
// Solve the generalized eigenvalue problem (eq. 14)
const auto number_of_eigenvalues = Mesh::size_type(20);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment