oyabun% gcc -o fem1d fem1d.c oyabun% ./fem1d nodal values of u (節点での u の値) i u i u i u 0 0.000e+00 1 9.500e-02 2 1.800e-01 3 2.550e-01 4 3.200e-01 5 3.750e-01 6 4.200e-01 7 4.550e-01 8 4.800e-01 9 4.950e-01 10 5.000e-01 oyabun% cat fem1d.out 0.000000 0.000000 0.100000 0.095000 0.200000 0.180000 0.300000 0.255000 0.400000 0.320000 0.500000 0.375000 0.600000 0.420000 0.700000 0.455000 0.800000 0.480000 0.900000 0.495000 1.000000 0.500000 oyabun% gnuplot gnuplot> plot "fem1d.out" with lines |