#include <stdio.h>
#include <chrono>
#include "libmesh/libmesh_common.h"
#include "libmesh/libmesh_config.h"
#include "libmesh/petsc_macro.h"
#include "libmesh/slepc_macro.h"
#include "libmesh/parallel_object.h"
#include "libmesh/reference_counted_object.h"
#include "random_generator.h"
#include "pm_system_stokes.h"
#include "fix/fix.h"
#include <slepceps.h>
Go to the source code of this file.
PetscErrorCode _MatMult_Stokes |
( |
Mat |
M, |
|
|
Vec |
f, |
|
|
Vec |
u |
|
) |
| |
Internal function if shell matrix mode is used, this just calls the shell matrix's matrix multiplication function. In this class, it will call Stokes solver. u = M*f NOTE that the pm_system should be reinit() before solving Stokes