| 5886 | }; |
| 5887 | |
| 5888 | shared_ptr<CoefficientFunction> |
| 5889 | MakeDomainWiseCoefficientFunction (Array<shared_ptr<CoefficientFunction>> aci, |
| 5890 | optional<VorB> vb) |
| 5891 | { |
| 5892 | for(auto cf : aci) |
| 5893 | if (cf && !cf->IsZeroCF()) |
| 5894 | return make_shared<DomainWiseCoefficientFunction> (std::move (aci), |
| 5895 | vb); |
| 5896 | for(auto cf : aci) |
| 5897 | if(cf) |
| 5898 | return ZeroCF(cf->Dimensions()); |
| 5899 | return nullptr; |
| 5900 | } |
| 5901 | |
| 5902 | |
| 5903 |
no test coverage detected