Commit e4985bea authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#718 Remove obsolete files.

parent 2f8930cf
////
//// Hyperelasticity.hpp
//// HappyHeart
////
//// Created by Sebastien Gilles on 01/10/15.
//// Copyright © 2015 Inria. All rights reserved.
////
//
//#ifndef HAPPY_HEART_x_MODEL_INSTANCES_x_F_S_I_x_E_I_x_SOLID_VARIATIONAL_FORMULATION_POLICY_x_HYPERELASTICITY_HPP_
//# define HAPPY_HEART_x_MODEL_INSTANCES_x_F_S_I_x_E_I_x_SOLID_VARIATIONAL_FORMULATION_POLICY_x_HYPERELASTICITY_HPP_
//
//# include <memory>
//# include <vector>
//
//# include "ModelInstances/Hyperelasticity/TimeSchemes/TimeScheme.hpp"
//# include "ModelInstances/Hyperelasticity/VariationalFormulationHyperelasticity.hpp"
//# include "ModelInstances/FSI_EI/InputParameterList.hpp"
//
//
//namespace HappyHeart
//{
//
//
// namespace FSI_EINS
// {
//
//
// namespace Policy
// {
//
//
// template
// <
// class LawPolicyT,
// HyperelasticityNS::TimeScheme TimeSchemeT
// >
// class Hyperelasticity
// {
//
// public:
//
// //! Alias to self.
// using self = Hyperelasticity<LawPolicyT, TimeSchemeT>;
//
// //! Alias to unique pointer.
// using unique_ptr = std::unique_ptr<self>;
//
// //! Alias to hyperelastic variational formulation.
// using variational_formulation_type =
// HyperelasticityNS::VariationalFormulationHyperElasticity
// <
// LawPolicyT,
// TimeSchemeT,
// VariationalFormulationNS::DofSourcePolicyNS::DofSource
// >;
//
// public:
//
// /// \name Special members.
// ///@{
//
// //! Constructor.
// explicit Hyperelasticity() = default;
//
// protected:
//
// //! Destructor.
// ~Hyperelasticity() = default;
//
// //! Copy constructor.
// Hyperelasticity(const Hyperelasticity&) = delete;
//
// //! Move constructor.
// Hyperelasticity(Hyperelasticity&&) = delete;
//
// //! Copy affectation.
// Hyperelasticity& operator=(const Hyperelasticity&) = delete;
//
// //! Move affectation.
// Hyperelasticity& operator=(Hyperelasticity&&) = delete;
//
// ///@}
//
//
// protected:
//
// /*!
// * \brief Constructor.
// *
// * \param[in] mpi Object that manages mpi informations.
// * \param[in] time_manager Object in charge of time management.
// * \param[in] god_of_dof God of dof into which the formulation works.
// * \param[in] main_felt_space Finite element space upon which the variational formulation apply.
// * \param[in] neumann_felt_space Finite element space upon which the Neumann condition apply.
// * \param[in] solid_displacement Unknown considered; it should be a solid displacement.
// * \param[in] dof_source_policy_args Supplementary arguments that might be required by the DofSourcePolicyT.
// *
// */
// template<typename... DofSourcePolicyArgs>
// void CreateSolidFormulation(const Wrappers::Mpi& mpi,
// const FEltSpace& main_felt_space,
// const FEltSpace& neumann_felt_space,
// const Unknown& solid_displacement,
// const NumberingSubset& numbering_subset,
// const TimeManager& time_manager,
// const GodOfDof& god_of_dof,
// DirichletBoundaryCondition::vector_shared_ptr&& boundary_condition_list,
// DofSourcePolicyArgs&&... dof_source_policy_args);
//
// //! Supplementary steps of init besides the call to VariationalFormulation::Init().
// void SupplInit(const FSI_EINS::InputParameterList& input_parameter_data);
//
// //! Call the appropriate solver to deal with the equation.
// void Solve();
//
// //! Finalize step.
// void FinalizeStepForFormulation();
//
// protected:
//
// //! Underlying variational formulation.
// const variational_formulation_type& GetVariationalFormulation() const noexcept;
//
// //! Underlying variational formulation.
// variational_formulation_type& GetNonCstVariationalFormulation() noexcept;
//
//
// private:
//
// //! Underlying variational formulation for solid implicit step.
// typename variational_formulation_type::unique_ptr variational_formulation_ = nullptr;
//
// };
//
//
// } //namespace Policy
//
//
// } //namespace FSI_EINS
//
//
//} // namespace HappyHeart
//
//
//# include "ModelInstances/FSI_EI/SolidVariationalFormulationPolicy/Hyperelasticity.hxx"
//
//
//#endif // HAPPY_HEART_x_MODEL_INSTANCES_x_F_S_I_x_E_I_x_SOLID_VARIATIONAL_FORMULATION_POLICY_x_HYPERELASTICITY_HPP_
////
//// Hyperelasticity.hxx
//// HappyHeart
////
//// Created by Sebastien Gilles on 01/10/15.
//// Copyright © 2015 Inria. All rights reserved.
////
//
//#ifndef HAPPY_HEART_x_MODEL_INSTANCES_x_F_S_I_x_E_I_x_SOLID_VARIATIONAL_FORMULATION_POLICY_x_HYPERELASTICITY_HXX_
//# define HAPPY_HEART_x_MODEL_INSTANCES_x_F_S_I_x_E_I_x_SOLID_VARIATIONAL_FORMULATION_POLICY_x_HYPERELASTICITY_HXX_
//
//
//namespace HappyHeart
//{
//
//
// namespace FSI_EINS
// {
//
//
// namespace Policy
// {
//
//
// template
// <
// class LawPolicyT,
// HyperelasticityNS::TimeScheme TimeSchemeT
// >
// template<typename... DofSourcePolicyArgs>
// void Hyperelasticity<LawPolicyT, TimeSchemeT>
// ::CreateSolidFormulation(const Wrappers::Mpi& mpi,
// const FEltSpace& main_felt_space,
// const FEltSpace& neumann_felt_space,
// const Unknown& solid_displacement,
// const NumberingSubset& numbering_subset,
// const TimeManager& time_manager,
// const GodOfDof& god_of_dof,
// DirichletBoundaryCondition::vector_shared_ptr&& boundary_condition_list,
// DofSourcePolicyArgs&&... dof_source_policy_args)
// {
// variational_formulation_ =
// std::make_unique<variational_formulation_type>(mpi,
// main_felt_space,
// neumann_felt_space,
// solid_displacement,
// numbering_subset,
// time_manager,
// god_of_dof,
// std::move(boundary_condition_list),
// 1., // contribution of DofSource must be removed from rhs in elastic case.
// std::forward<DofSourcePolicyArgs>(dof_source_policy_args)...);
// }
//
//
// template
// <
// class LawPolicyT,
// HyperelasticityNS::TimeScheme TimeSchemeT
// >
//
// void Hyperelasticity<LawPolicyT, TimeSchemeT>
// ::SupplInit(const FSI_EINS::InputParameterList& input_parameter_data)
// {
// static_cast<void>(input_parameter_data);
// }
//
//
// template
// <
// class LawPolicyT,
// HyperelasticityNS::TimeScheme TimeSchemeT
// >
// inline const typename Hyperelasticity<LawPolicyT, TimeSchemeT>::variational_formulation_type&
// Hyperelasticity<LawPolicyT, TimeSchemeT>
// ::GetVariationalFormulation() const noexcept
// {
// assert(!(!variational_formulation_));
// return *variational_formulation_;
// }
//
//
// template
// <
// class LawPolicyT,
// HyperelasticityNS::TimeScheme TimeSchemeT
// >
// inline typename Hyperelasticity<LawPolicyT, TimeSchemeT>::variational_formulation_type&
// Hyperelasticity<LawPolicyT, TimeSchemeT>
// ::GetNonCstVariationalFormulation() noexcept
// {
// return const_cast<variational_formulation_type&>(GetVariationalFormulation());
// }
//
//
// template
// <
// class LawPolicyT,
// HyperelasticityNS::TimeScheme TimeSchemeT
// >
// void Hyperelasticity<LawPolicyT, TimeSchemeT>::Solve()
// {
// auto& variational_formulation = GetNonCstVariationalFormulation();
// const auto& numbering_subset = variational_formulation.GetNumberingSubset();
//
//
//
// static bool first = true;
//
// if (first)
// {
// std::cout << "IMPLICIT SOLID MATRIX = " << std::endl;
// variational_formulation.GetSystemMatrix(numbering_subset, numbering_subset).View(variational_formulation.MpiHappyHeart(), "/Users/sebastien/Desktop/ImplicitSolid.m",
// __FILE__, __LINE__,
// PETSC_VIEWER_ASCII_MATLAB
// );
//
// first = false;
// }
//
//
// variational_formulation.SolveNonLinear(numbering_subset, numbering_subset);
// }
//
//
// template
// <
// class LawPolicyT,
// HyperelasticityNS::TimeScheme TimeSchemeT
// >
// void Hyperelasticity<LawPolicyT, TimeSchemeT>::FinalizeStepForFormulation()
// { }
//
//
//
// } //namespace Policy
//
//
// } //namespace FSI_EINS
//
//
//} // namespace HappyHeart
//
//
//#endif // HAPPY_HEART_x_MODEL_INSTANCES_x_F_S_I_x_E_I_x_SOLID_VARIATIONAL_FORMULATION_POLICY_x_HYPERELASTICITY_HXX_
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment