Skip to content
Snippets Groups Projects
Commit ecf04493 authored by renchao.lu's avatar renchao.lu
Browse files

[PL/CT] clang-format.

parent c10dea16
No related branches found
No related tags found
No related merge requests found
......@@ -1203,10 +1203,10 @@ public:
std::vector<GlobalIndexType> chemical_system_indices;
chemical_system_indices.reserve(n_integration_points);
std::transform(
_ip_data.begin(), _ip_data.end(),
std::back_inserter(chemical_system_indices),
[](auto const& ip_data) { return ip_data.chemical_system_id; });
std::transform(_ip_data.begin(), _ip_data.end(),
std::back_inserter(chemical_system_indices),
[](auto const& ip_data)
{ return ip_data.chemical_system_id; });
_process_data.chemical_solver_interface->computeSecondaryVariable(
ele_id, chemical_system_indices);
......
......@@ -118,9 +118,8 @@ std::unique_ptr<Process> createComponentTransportProcess(
auto it = std::find_if(
collected_process_variables.cbegin(),
collected_process_variables.cend(),
[](std::reference_wrapper<ProcessLib::ProcessVariable> const& pv) {
return pv.get().getNumberOfGlobalComponents() != 1;
});
[](std::reference_wrapper<ProcessLib::ProcessVariable> const& pv)
{ return pv.get().getNumberOfGlobalComponents() != 1; });
if (it != collected_process_variables.end())
{
......@@ -155,14 +154,14 @@ std::unique_ptr<Process> createComponentTransportProcess(
}
else
{
auto sort_by_component = [&per_process_variable,
collected_process_variables](
auto const& c_name) {
auto sort_by_component =
[&per_process_variable,
collected_process_variables](auto const& c_name)
{
auto pv = std::find_if(collected_process_variables.begin(),
collected_process_variables.end(),
[&c_name](auto const& v) -> bool {
return v.get().getName() == c_name;
});
[&c_name](auto const& v) -> bool
{ return v.get().getName() == c_name; });
if (pv == collected_process_variables.end())
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment