Skip to content

Commit

Permalink
Removed redundant norm function and updated result file without solid…
Browse files Browse the repository at this point in the history
… viscosity.
  • Loading branch information
divyaadil23 committed Oct 4, 2024
1 parent 6aa0997 commit 59b1ee8
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 491 deletions.
10 changes: 1 addition & 9 deletions Code/Source/svFSI/mat_fun_carray.h
Original file line number Diff line number Diff line change
Expand Up @@ -458,15 +458,7 @@ double norm(const Vector<double>& u, const double v[N])
return norm;
}

template <size_t N>
double norm(const Vector<double>& u, const Vector<double>& v)
{
double norm = 0.0;
for (int i = 0; i < N; i++) {
norm += u[i]*v[i];
}
return norm;
}


template <size_t N>
void mat_symm(const double A[N][N], double S[N][N])
Expand Down
Git LFS file not shown

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,8 @@
<Density> 1.0 </Density> <!-- g/cm^3 -->
<Elasticity_modulus> 1.0e6 </Elasticity_modulus> <!-- dyne/cm^2 -->
<Poisson_ratio> 0.483333 </Poisson_ratio>
<Viscosity model="Constant" >
<Value> 0.0 </Value>
</Viscosity>

<!-- <Solid_viscosity> 0.9 </Solid_viscosity> -->

<Constitutive_model type="HolzapfelOgden-ModifiedAnisotropy">
<a> 590.0 </a> <!-- dyne/cm^2 -->
Expand Down
4 changes: 2 additions & 2 deletions tests/cases/struct/LV_HolzapfelOgden_passive/result_001.vtu
Git LFS file not shown
115 changes: 0 additions & 115 deletions tests/cases/struct/LV_HolzapfelOgden_passive/svFSI.xml

This file was deleted.

5 changes: 2 additions & 3 deletions tests/cases/struct/LV_HolzapfelOgden_passive/svFSIplus.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,8 @@
<Density> 1.0 </Density> <!-- g/cm^3 -->
<Elasticity_modulus> 1.0e6 </Elasticity_modulus> <!-- dyne/cm^2 -->
<Poisson_ratio> 0.483333 </Poisson_ratio>
<Viscosity model="Constant" >
<Value> 0.0 </Value>
</Viscosity>

<!-- <Solid_viscosity> 0.9 </Solid_viscosity> -->

<Constitutive_model type="HolzapfelOgden">
<a> 590.0 </a> <!-- dyne/cm^2 -->
Expand Down
Git LFS file not shown
Loading

0 comments on commit 59b1ee8

Please sign in to comment.