Ice Sheet System Model  4.18
Code documentation
Functions
BamgTriangulatex.cpp File Reference
#include "./BamgTriangulatex.h"
#include "../../shared/shared.h"
#include "../../toolkits/toolkits.h"
#include "../../classes/classes.h"
#include "../../bamg/bamgobjects.h"

Go to the source code of this file.

Functions

int BamgTriangulatex (int **pindex, int *pnels, double *x, double *y, int nods)
 

Function Documentation

◆ BamgTriangulatex()

int BamgTriangulatex ( int **  pindex,
int *  pnels,
double *  x,
double *  y,
int  nods 
)

Definition at line 14 of file BamgTriangulatex.cpp.

14  {
15 
16  BamgOpts* bamgopts=new BamgOpts();//use bamgopts->verbose>5 to debug bamg::Mesh()
17  Mesh Th(x,y,nods,bamgopts);
18  Th.WriteIndex(pindex,pnels);
19  delete bamgopts;
20  //delete &Th;
21  return 0;
22 }
BamgOpts
Definition: BamgOpts.h:8
bamg::Mesh
Definition: Mesh.h:21