Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • develop
  • feature/local-dt-fsi
  • feature/kinetic-schemes
  • origin/stage/bouguettaia
  • feature/variational-hydro
  • save_clemence
  • feature/reconstruction
  • feature/composite-scheme-sources
  • feature/composite-scheme-other-fluxes
  • feature/serraille
  • feature/composite-scheme
  • hyperplastic
  • feature/polynomials
  • feature/gks
  • feature/implicit-solver-o2
  • feature/coupling_module
  • feature/implicit-solver
  • feature/merge-local-dt-fsi
  • master
  • feature/escobar-smoother
  • feature/hypoelasticity-clean
  • feature/hypoelasticity
  • feature/Navier-Stokes
  • feature/Nodal_diffusion
  • feature/explicit-gp-cfl
  • Nodal_diffusion
  • feature/discontinuous-galerkin
  • test/voronoi1d
  • navier-stokes
  • Kidder
  • v0
  • v0.0.1
  • v0.0.2
  • v0.0.3
  • v0.0.4
  • v0.1.0
  • v0.2.0
  • v0.3.0
  • v0.4.0
  • v0.4.1
  • v0.5.0
41 results

Target

Select target project
  • code / pugs
1 result
Select Git revision
  • develop
  • feature/local-dt-fsi
  • feature/kinetic-schemes
  • origin/stage/bouguettaia
  • feature/variational-hydro
  • save_clemence
  • feature/reconstruction
  • feature/composite-scheme-sources
  • feature/composite-scheme-other-fluxes
  • feature/serraille
  • feature/composite-scheme
  • hyperplastic
  • feature/polynomials
  • feature/gks
  • feature/implicit-solver-o2
  • feature/coupling_module
  • feature/implicit-solver
  • feature/merge-local-dt-fsi
  • master
  • feature/escobar-smoother
  • feature/hypoelasticity-clean
  • feature/hypoelasticity
  • feature/Navier-Stokes
  • feature/Nodal_diffusion
  • feature/explicit-gp-cfl
  • Nodal_diffusion
  • feature/discontinuous-galerkin
  • test/voronoi1d
  • navier-stokes
  • Kidder
  • v0
  • v0.0.1
  • v0.0.2
  • v0.0.3
  • v0.0.4
  • v0.1.0
  • v0.2.0
  • v0.3.0
  • v0.4.0
  • v0.4.1
  • v0.5.0
41 results
Show changes

Commits on Source 2

1 file
+ 84
40
Compare changes
  • Side-by-side
  • Inline

Files

+84 −40
Original line number Original line Diff line number Diff line
@@ -39,7 +39,8 @@ GmshConnectivityBuilder<1>::GmshConnectivityBuilder(const GmshReader::GmshData&
  Array<int> cell_number_vector(nb_cells);
  Array<int> cell_number_vector(nb_cells);


  Array<unsigned int> cell_to_node_row(nb_cells + 1);
  Array<unsigned int> cell_to_node_row(nb_cells + 1);
  parallel_for(cell_to_node_row.size(), PUGS_LAMBDA(const CellId cell_id) { cell_to_node_row[cell_id] = 2 * cell_id; });
  parallel_for(
    cell_to_node_row.size(), PUGS_LAMBDA(const CellId cell_id) { cell_to_node_row[cell_id] = 2 * cell_id; });


  Array<unsigned int> cell_to_node_list(cell_to_node_row[cell_to_node_row.size() - 1]);
  Array<unsigned int> cell_to_node_list(cell_to_node_row[cell_to_node_row.size() - 1]);
  for (CellId cell_id = 0; cell_id < nb_cells; ++cell_id) {
  for (CellId cell_id = 0; cell_id < nb_cells; ++cell_id) {
@@ -62,7 +63,10 @@ GmshConnectivityBuilder<1>::GmshConnectivityBuilder(const GmshReader::GmshData&


  for (unsigned int r = 0; r < gmsh_data.point_entity.size(); ++r) {
  for (unsigned int r = 0; r < gmsh_data.point_entity.size(); ++r) {
    const unsigned int point_number = gmsh_data.point_entity[r];
    const unsigned int point_number = gmsh_data.point_entity[r];
    ref_points_map[gmsh_data.point_entity_ref[r]].push_back(point_number);
    auto ref_range                  = point_to_physical_tag.equal_range(gmsh_data.point_entity_ref[r]);
    for (auto i_ref = ref_range.first; i_ref != ref_range.second; ++i_ref) {
      ref_points_map[i_ref->second].push_back(point_number);
    }
  }
  }


  Array<size_t> node_nb_cell(descriptor.nodeNumberVector().size());
  Array<size_t> node_nb_cell(descriptor.nodeNumberVector().size());
@@ -125,7 +129,10 @@ GmshConnectivityBuilder<1>::GmshConnectivityBuilder(const GmshReader::GmshData&


  for (unsigned int j = 0; j < gmsh_data.edge_entity_ref.size(); ++j) {
  for (unsigned int j = 0; j < gmsh_data.edge_entity_ref.size(); ++j) {
    const unsigned int elem_number = j;
    const unsigned int elem_number = j;
    ref_cells_map[gmsh_data.edge_entity_ref[j]].push_back(elem_number);
    auto ref_range                 = cell_to_physical_tag.equal_range(gmsh_data.edge_entity_ref[j]);
    for (auto i_ref = ref_range.first; i_ref != ref_range.second; ++i_ref) {
      ref_cells_map[i_ref->second].push_back(elem_number);