.
This commit is contained in:
parent
36b601b969
commit
321e250973
4 changed files with 220 additions and 0 deletions
13
Sheet7/Ex_5678/VecFuncs.h
Normal file
13
Sheet7/Ex_5678/VecFuncs.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
#include <mpi.h>
|
||||
#include <iostream>
|
||||
#include <cassert>
|
||||
#include <cfloat>
|
||||
|
||||
void DebugVector(const std::vector<double>& xin, MPI_Comm icomm);
|
||||
|
||||
double par_scalar(const std::vector<double> &x, const std::vector<double> &y, const MPI_Comm &icomm);
|
||||
|
||||
void par_minmax(std::vector<double> &x, double &min_val, double &max_val, const MPI_Comm &icomm);
|
||||
Loading…
Add table
Add a link
Reference in a new issue