/*!\file: Exp.cpp * \brief Exp.cpp: write the vertex coordinates defined in a domain * outline from Argus (.exp file). The first contour in the file is for * the outside domain outline. */ #include #include #include "../MemOps/MemOps.h" #include "../Exceptions/exceptions.h" #include "./exp.h" int ExpWrite(int nprof,int* profnvertices,double** pprofx,double** pprofy,char* domainname){/*{{{*/ /*I/O: */ FILE* fid=NULL; /*open domain outline file for writing: */ if((fid=fopen(domainname,"w"))==NULL) _error_("could not open domain file " << domainname); /*Start writing profiles: */ for(int counter=0;counter