Skip to content

Commit

Permalink
[PL/CT] Prefixed with the enumerate class PropertyType.
Browse files Browse the repository at this point in the history
  • Loading branch information
renchao-lu committed Jun 28, 2019
1 parent 67a59dd commit 07168a2
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions ProcessLib/ComponentTransport/ComponentTransportFEM.h
Original file line number Diff line number Diff line change
Expand Up @@ -278,13 +278,14 @@ class LocalAssemblerData : public ComponentTransportLocalAssemblerInterface
auto const& retardation_factor = component.template value<double>(
MaterialPropertyLib::PropertyType::retardation_factor);

auto const& solute_dispersivity_transverse =
medium.template value<double>(
MaterialPropertyLib::transversal_dispersivity);
auto const& solute_dispersivity_transverse = medium.template value<
double>(
MaterialPropertyLib::PropertyType::transversal_dispersivity);

auto const& solute_dispersivity_longitudinal =
medium.template value<double>(
MaterialPropertyLib::longitudinal_dispersivity);
MaterialPropertyLib::PropertyType::
longitudinal_dispersivity);

// Use the fluid density model to compute the density
// TODO (renchao): concentration of which component as the argument
Expand All @@ -299,7 +300,7 @@ class LocalAssemblerData : public ComponentTransportLocalAssemblerInterface

auto const& molecular_diffusion_coefficient =
component.template value<double>(
MaterialPropertyLib::molecular_diffusion);
MaterialPropertyLib::PropertyType::molecular_diffusion);

auto const& K =
_process_data.porous_media_properties.getIntrinsicPermeability(
Expand Down Expand Up @@ -570,12 +571,13 @@ class LocalAssemblerData : public ComponentTransportLocalAssemblerInterface
auto const& retardation_factor = component.template value<double>(
MaterialPropertyLib::PropertyType::retardation_factor);

auto const& solute_dispersivity_transverse =
medium.template value<double>(
MaterialPropertyLib::transversal_dispersivity);
auto const& solute_dispersivity_transverse = medium.template value<
double>(
MaterialPropertyLib::PropertyType::transversal_dispersivity);
auto const& solute_dispersivity_longitudinal =
medium.template value<double>(
MaterialPropertyLib::longitudinal_dispersivity);
MaterialPropertyLib::PropertyType::
longitudinal_dispersivity);

// Use the fluid density model to compute the density
vars[static_cast<int>(
Expand All @@ -588,7 +590,7 @@ class LocalAssemblerData : public ComponentTransportLocalAssemblerInterface

auto const& molecular_diffusion_coefficient =
component.template value<double>(
MaterialPropertyLib::molecular_diffusion);
MaterialPropertyLib::PropertyType::molecular_diffusion);

auto const& K =
_process_data.porous_media_properties.getIntrinsicPermeability(
Expand Down

0 comments on commit 07168a2

Please sign in to comment.