Commit 5b6c4fbe authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#879 Poromechanics: reactivate construction of explicit and implicit varf;...

#879 Poromechanics: reactivate construction of explicit and implicit varf; make public three accessors of PorosityParameter to make them compile.
parent 8c6c046e
......@@ -57,8 +57,8 @@ namespace HappyHeart
// Ordering is extremely important here!
InitParameters(input_parameter_data);
// InitVariationalFormulations(input_parameter_data);
// InitializeMassOperator();
InitVariationalFormulations(input_parameter_data);
InitializeMassOperator();
}
......@@ -167,8 +167,6 @@ namespace HappyHeart
decltype(auto) solid_god_of_dof = parent::GetGodOfDof(EnumUnderlyingType(MeshIndex::solid));
decltype(auto) solid_mesh = solid_god_of_dof.GetGeometricMeshRegion();
decltype(auto) unknown_manager = UnknownManager::GetInstance();
{
const auto& numbering_subset =
......
......@@ -86,6 +86,22 @@ namespace HappyHeart
*/
void Update();
public:
/// \name Accessors
///@{
//! Constant accessor to the porosity parameter on the solid mesh.
const ParameterAtDof<ParameterNS::Type::scalar>::type& GetOnSolidMesh() const noexcept;
//! Constant accessor to the porosity parameter on the fluid mesh.
const fluid_param_at_dof_type& GetOnFluidMesh() const noexcept;
//! Constant accessor to the porosity parameter on the fluid mesh during previous time iteration..
const fluid_param_at_dof_type& GetOnFluidMeshPrevTimeIt() const noexcept;
///@}
private:
/// \name Accessors
......@@ -94,21 +110,13 @@ namespace HappyHeart
//! Constant accessor to the solution of the PorosityVariationalFormulation.
const GlobalVector& GetSolutionPorosityVarf() const noexcept;
//! Constant accessor to the porosity parameter on the solid mesh.
const ParameterAtDof<ParameterNS::Type::scalar>::type& GetOnSolidMesh() const noexcept;
//! Non constant accessor to the porosity parameter on the solid mesh.
ParameterAtDof<ParameterNS::Type::scalar>::type& GetNonCstOnSolidMesh() noexcept;
//! Constant accessor to the porosity parameter on the fluid mesh.
const fluid_param_at_dof_type& GetOnFluidMesh() const noexcept;
//! Non constant accessor to the porosity parameter on the fluid mesh.
fluid_param_at_dof_type& GetNonCstOnFluidMesh() noexcept;
//! Constant accessor to the porosity parameter on the fluid mesh during previous time iteration..
const fluid_param_at_dof_type& GetOnFluidMeshPrevTimeIt() const noexcept;
//! Non constant accessor to the porosity parameter on the fluid mesh during previous time iteration..
fluid_param_at_dof_type& GetNonCstOnFluidMeshPrevTimeIt() noexcept;
......
Markdown is supported
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