-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
18 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,25 @@ | ||
#include <iostream> | ||
#include <string> | ||
#include <smooth3D/smooth3D.h> | ||
|
||
#include <smooth3D/smooth3d.h> | ||
// what to do with machine_types ? | ||
//#include <machine_types.h> | ||
|
||
int main() { | ||
|
||
S3_CELL_3D cell; | ||
cell.nb_nodes = 8; | ||
cell.vtx[0]; | ||
/* | ||
int_type nb_cells = 1; | ||
int_type nb_nodes = 4; | ||
int_type nb_nodes_per_cell[1] = {4}; | ||
int_type nodes_number[4] = {0,1,2,3} | ||
double x[4] = {0., 1., 1., 0.}; | ||
double y[4] = {0., 0., 1., 1.}; | ||
double z[4] = {0., 0., 0., 0.}; | ||
double weights[4] = {1., 1., 1., 1.}; | ||
double relax[4] = {1., 1., 1., 1.}; | ||
int_type n_iter = 2; | ||
int ret = S3_laplace(nb_cells, nb_nodes, nb_nodes_per_cell, nodes_number, x, y, z, weights, relax, n_iter); | ||
*/ | ||
return 0; | ||
} |