MCPcopy Create free account
hub / github.com/NGSolve/ngsolve / Create

Method Create

comp/ngsobject.hpp:333–343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331 class TCreateSymMatObjectS {
332 public:
333 static Base * Create (int dim, bool iscomplex, ARG & ... arg)
334 {
335 if (dim == ACTDIM)
336 {
337 if (iscomplex)
338 return new Object<Mat<ACTDIM,ACTDIM,Complex> > (arg...);
339 else
340 return new Object<Mat<ACTDIM,ACTDIM,double> > (arg...);
341 }
342 else return TCreateSymMatObjectS<Object, Base, ACTDIM-1, ARG...>::Create(dim, iscomplex, arg...);
343 }
344 };
345
346 template <template <typename...T> class Object, class Base, typename ... ARG>

Callers

nothing calls this directly

Calls 1

CreateFunction · 0.85

Tested by

no test coverage detected