diff options
author | jan.reininghaus <jan.reininghaus@8e3bb3c2-eed4-f18f-5264-0b6c94e6926d> | 2013-06-07 12:41:23 +0000 |
---|---|---|
committer | jan.reininghaus <jan.reininghaus@8e3bb3c2-eed4-f18f-5264-0b6c94e6926d> | 2013-06-07 12:41:23 +0000 |
commit | bf64faab7dd9da8683484971a64c6c87f40a89a3 (patch) | |
tree | e06b71e240c3820c776f973ccecdd34982bc0ece /include/phat/boundary_matrix.h | |
parent | 8fa5020a3710161bb0ddfda1b9003a369b3b2174 (diff) |
performance improvements through OpenMP
git-svn-id: https://phat.googlecode.com/svn/trunk@88 8e3bb3c2-eed4-f18f-5264-0b6c94e6926d
Diffstat (limited to 'include/phat/boundary_matrix.h')
-rw-r--r-- | include/phat/boundary_matrix.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/phat/boundary_matrix.h b/include/phat/boundary_matrix.h index 7be14d8..1bdee61 100644 --- a/include/phat/boundary_matrix.h +++ b/include/phat/boundary_matrix.h @@ -176,6 +176,7 @@ namespace phat { const index nr_of_columns = (index)input_matrix.size();
this->set_num_cols( nr_of_columns );
column temp_col;
+ #pragma omp parallel for private( temp_col )
for( index cur_col = 0; cur_col < nr_of_columns; cur_col++ ) {
this->set_dim( cur_col, (dimension)input_dims[ cur_col ] );
|