Upload files to "ex3_benchmarks"
This commit is contained in:
parent
50845d49be
commit
b8030d4ce0
5 changed files with 2043 additions and 0 deletions
16
ex3_benchmarks/userset.cpp
Normal file
16
ex3_benchmarks/userset.cpp
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#include "userset.h"
|
||||
#include <cmath>
|
||||
|
||||
|
||||
double FunctF(double const x, double const y)
|
||||
{
|
||||
// return std::sin(3.14159*1*x)*std::sin(3.14159*1*y);
|
||||
// return 16.0*1024. ;
|
||||
// return (double)1.0 ;
|
||||
return x * x * std::sin(2.5 * 3.14159 * y);
|
||||
}
|
||||
|
||||
double FunctU(const double /* x */, double const /* y */)
|
||||
{
|
||||
return 1.0 ;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue