Beispiel #1
0
        public PaperKirghoff1UmovaProgram(Bound <Point3D> bound, List <InnerSourceWithFunction <Point3D> > source)
        {
            var boundWithCondition = ConditionSetter.SetDirichletConditionSphere(bound);

            method = MethodFactory.GetCollocationKirghoffMethod(
                boundWithCondition,
                source,
                KirghoffTransformation.Pow,
                KirghoffTransformation.ConversePow);
            method.Solve();
        }
Beispiel #2
0
        internal override void StaticInitializerGen()
        {
            Class.Fields.TryGetValue("Empty", out Field field);
            Constructor.AddNew(Class.ConstantPoolIndex);
            Constructor.AddDup(Class.ObjectType);
            Constructor.AddConst(Constructor.StringPool.TryAdd(string.Empty));
            AbstractMethod abstractMethod = Methods.Find(m => m is StringInit);

            Constructor.AddCall(abstractMethod.Method.ConstantPoolIndex);
            Constructor.AddStoreStatic(field.ConstantPoolIndex);
            Constructor.AddPop(Class.ObjectType);

            Constructor.AddRet();
        }
Beispiel #3
0
        public AbstractMethod get_ob()
        {
            AbstractMethod method_diff = (AbstractMethod)object_in_node.Tag;

            return(method_diff);
        }