increase data for examples
This commit is contained in:
@@ -74,8 +74,8 @@ static void usage() {
|
||||
}
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
unsigned int width = 1536;
|
||||
unsigned int height = 1024;
|
||||
unsigned int width = 1536 * 8;
|
||||
unsigned int height = 1024 * 8;
|
||||
float x0 = -2;
|
||||
float x1 = 1;
|
||||
float y0 = -1;
|
||||
|
||||
@@ -66,8 +66,8 @@ writePPM(float *buf, int width, int height, const char *fn) {
|
||||
|
||||
|
||||
int main() {
|
||||
unsigned int width = 768;
|
||||
unsigned int height = 768;
|
||||
unsigned int width = 768 * 4;
|
||||
unsigned int height = 768 * 4;
|
||||
float x0 = -10;
|
||||
float x1 = 10;
|
||||
float y0 = -10;
|
||||
|
||||
@@ -67,7 +67,7 @@ void InitData(int Nx, int Ny, int Nz, float *A[2], float *vsq) {
|
||||
|
||||
|
||||
int main() {
|
||||
int Nx = 256, Ny = 256, Nz = 256;
|
||||
int Nx = 256 * 2, Ny = 256 * 2, Nz = 256 * 2;
|
||||
int width = 4;
|
||||
float *Aserial[2], *Aispc[2];
|
||||
Aserial[0] = new float [Nx * Ny * Nz];
|
||||
|
||||
Reference in New Issue
Block a user