source: issm/branches/trunk-jpl-damage/src/c/objects/Contour.cpp@ 11427

Last change on this file since 11427 was 9761, checked in by Eric.Larour, 14 years ago

Added --with-control macro to configure script.
Can now strip out all control related routines from the parallel issm compilation.

File size: 500 bytes
Line 
1/*! \file Contour.c
2 * \sa Contour.h
3 */
4
5#ifdef HAVE_CONFIG_H
6 #include <config.h>
7#else
8#error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
9#endif
10
11#include "./objects.h"
12#include "../include/include.h"
13#include "../io/io.h"
14
15void ContourEcho(Contour* contour){
16
17 int i;
18
19 _printf_(true,"Number of nodes in contour: %i\n",contour->nods);
20 _printf_(true,"Node coordinates: \n");
21 for (i=0;i<contour->nods;i++){
22 _printf_(true,"%lf %lf\n",*(contour->x+i),*(contour->y+i));
23 }
24}
Note: See TracBrowser for help on using the repository browser.