Commit fa88fe90 authored by Jean-Eric Campagne's avatar Jean-Eric Campagne
Browse files

(JEC) 13/4/15 update TEST files

parent 03869cca
# ===== Libsharp =====
SHARPDIR = /Users/campagne/Travail/kits/libsharp-code/auto/
SHARPLIB = $(SHARPDIR)/lib
......@@ -54,7 +56,8 @@ CXXLINK = $(CXX) $(CXXFLAGS) -bind_at_load
#C++ rule for compiling
$(OBJ)%.o: %.cc $(CXXHDR)
echo "compile... $@ depend $^"
echo "compile... $@ depend $^",
$(CXXCOMPILE) -c $< -o $@
######################
......
This diff is collapsed.
This diff is collapsed.
#include <stdlib.h>
#include <iostream>
#include <iomanip> // std::setprecision
#include <fstream>
#include <string.h>
#include <limits> // std::numeric_limits
......@@ -88,8 +89,8 @@ void LaguerreQuadrature() {
ofs1.open(buff1,ofstream::out);
ofs2.open(buff2,ofstream::out);
for (int i=0;i<N;i++){
ofs1 << nodes[i] << endl;
ofs2 << weights[i] << endl;
ofs1 << setprecision(20) << nodes[i] << endl;
ofs2 << setprecision(20) << weights[i] << endl;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment