Handle 'Discontinuous Boundary' setting in parallel.


git-svn-id: svn+ssh://svn.code.sf.net/p/elmerfem/code/trunk@6862 04224531-1f84-46d8-96ce-875b9e37dce3
Modify current & heating computation in parallel.


git-svn-id: svn+ssh://svn.code.sf.net/p/elmerfem/code/trunk@6863 04224531-1f84-46d8-96ce-875b9e37dce3
small fix.


git-svn-id: svn+ssh://svn.code.sf.net/p/elmerfem/code/trunk@6864 04224531-1f84-46d8-96ce-875b9e37dce3
Add support to older compilers.


git-svn-id: svn+ssh://svn.code.sf.net/p/elmerfem/code/trunk@6865 04224531-1f84-46d8-96ce-875b9e37dce3
fix typo(s).


git-svn-id: svn+ssh://svn.code.sf.net/p/elmerfem/code/trunk@6866 04224531-1f84-46d8-96ce-875b9e37dce3
MagnetoDynamicsCalcFields: Fixing a bug in the evaluation of the electric conductivity, enabling JxB computation for stationary cases and enabling the current density computation when the source current is generated internally from a given electric potential (a new keyword Precomputed Electric Potential is here introduced).

git-svn-id: svn+ssh://svn.code.sf.net/p/elmerfem/code/trunk@6867 04224531-1f84-46d8-96ce-875b9e37dce3
[NEW] Added a function to compute a rotation matrix from a given surface normal



git-svn-id: svn+ssh://svn.code.sf.net/p/elmerfem/code/trunk@6868 04224531-1f84-46d8-96ce-875b9e37dce3
[NEW] Added functionality for rotated free surfaces in arbitrary direction.



git-svn-id: svn+ssh://svn.code.sf.net/p/elmerfem/code/trunk@6869 04224531-1f84-46d8-96ce-875b9e37dce3
[FIX] Fixed a bug where SaveBoundaryValues would segfault if the user specifies\
 a non-existent boundary variable.  Bug was unreported and so doesn't have a nu\
mber.



git-svn-id: svn+ssh://svn.code.sf.net/p/elmerfem/code/trunk@6870 04224531-1f84-46d8-96ce-875b9e37dce3
[NEW] In VtuOutputSolver enable saving and omitting of halo elements in parallel output. New logical keywords introduced 'Skip Halo Elements' and 'Save Halo Elements Only'. 


git-svn-id: svn+ssh://svn.code.sf.net/p/elmerfem/code/trunk@6871 04224531-1f84-46d8-96ce-875b9e37dce3
Added some recently added keywords of ResultOutputSolver


git-svn-id: svn+ssh://svn.code.sf.net/p/elmerfem/code/trunk@6872 04224531-1f84-46d8-96ce-875b9e37dce3
MagnetoDynamicsCalcFields: Fixing the Joule heating computation so that the effect of the electric conductivity is correctly taken into account and enabling the Joule heating computation also for stationary cases.

git-svn-id: svn+ssh://svn.code.sf.net/p/elmerfem/code/trunk@6873 04224531-1f84-46d8-96ce-875b9e37dce3
norm fix


git-svn-id: svn+ssh://svn.code.sf.net/p/elmerfem/code/trunk@6874 04224531-1f84-46d8-96ce-875b9e37dce3
[NEW] Componentwise and normwise relative backward errors may be used as stopping criteria for linear solvers (except for BiCGStab(L)

git-svn-id: svn+ssh://svn.code.sf.net/p/elmerfem/code/trunk@6875 04224531-1f84-46d8-96ce-875b9e37dce3
[NEW] Major revision in ElmerGrid for parallel operation: Memory savings implemented by directly constructing sparse matrices (for Metis). Implemented new hierarchical partitioning routine that can be used to first partition boundary elements with Metis, and thereafter the remaining bulk elements. The user may also extend the partitioned boundary with additional element layers to the bulk elements (default is one). 


git-svn-id: svn+ssh://svn.code.sf.net/p/elmerfem/code/trunk@6876 04224531-1f84-46d8-96ce-875b9e37dce3
Some further (mostly unfunctional) changes in ElmerGrid


git-svn-id: svn+ssh://svn.code.sf.net/p/elmerfem/code/trunk@6877 04224531-1f84-46d8-96ce-875b9e37dce3
unitilizaed variable fix

git-svn-id: svn+ssh://svn.code.sf.net/p/elmerfem/code/trunk@6878 04224531-1f84-46d8-96ce-875b9e37dce3
Small fix.


git-svn-id: svn+ssh://svn.code.sf.net/p/elmerfem/code/trunk@6879 04224531-1f84-46d8-96ce-875b9e37dce3
Incomplete fix to "Slave Solver" execution in parallel. SlaveSolver
should work in parallel, if it either

a) does not have parallel matrix equation to solve
or
b) the master is executed on all mpi tasks



git-svn-id: svn+ssh://svn.code.sf.net/p/elmerfem/code/trunk@6880 04224531-1f84-46d8-96ce-875b9e37dce3
Now the normwise backward error for linear systems always uses the supremum norm regardless of how the linear system is scaled.

git-svn-id: svn+ssh://svn.code.sf.net/p/elmerfem/code/trunk@6881 04224531-1f84-46d8-96ce-875b9e37dce3