| 4027 | |
| 4028 | |
| 4029 | shared_ptr<BaseMatrix> CompoundFESpaceAllSame :: |
| 4030 | GetTraceOperator (shared_ptr<FESpace> tracespace, bool avg) const |
| 4031 | { |
| 4032 | shared_ptr<BaseMatrix> sum; |
| 4033 | auto compoundtrace = dynamic_pointer_cast<CompoundFESpaceAllSame>(tracespace); |
| 4034 | for (int i = 0; i < Spaces().Size(); i++) |
| 4035 | { |
| 4036 | auto tracei = ComposeOperators( compoundtrace->EmbeddingOperator(i), |
| 4037 | ComposeOperators ( Spaces()[i]->GetTraceOperator(compoundtrace->Spaces()[i], avg), |
| 4038 | this->RestrictionOperator(i))); |
| 4039 | if (sum) |
| 4040 | sum = AddOperators(sum, tracei, 1, 1); |
| 4041 | else |
| 4042 | sum = tracei; |
| 4043 | } |
| 4044 | return sum; |
| 4045 | } |
| 4046 | |
| 4047 | |
| 4048 |
nothing calls this directly
no test coverage detected