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

Method Create

comp/ngsobject.hpp:139–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137 class TCreateVecObjectS {
138 public:
139 static Base * Create (int dim, bool iscomplex, ARG & ... arg)
140 {
141 if (dim == ACTDIM)
142 {
143 if (iscomplex)
144 return new Object<Vec<ACTDIM,Complex> > (arg...);
145 else
146 return new Object<Vec<ACTDIM,double> > (arg...);
147 }
148 else return TCreateVecObjectS<Object, Base, ACTDIM-1, ARG...>::Create(dim, iscomplex, arg...);
149 }
150 };
151
152 template <template <class T> class Object, class Base, typename ... ARG>

Callers

nothing calls this directly

Calls 1

CreateFunction · 0.85

Tested by

no test coverage detected