Second derivatives of shape functions for specific TElement<3,3>: d2psids(i,0) = \( \partial^2 \psi_j / \partial s_0^2 \) d2psids(i,1) = \( \partial^2 \psi_j / \partial s_1^2 \) d2psids(i,2) = \( \partial^2 \psi_j / \partial s_2^2 \) d2psids(i,3) = \( \partial^2 \psi_j / \partial s_0 \partial s_1 \) d2psids(i,4) = \( \partial^2 \psi_j / \partial s_0 \partial s_2 \) d2psids(i,5) = \( \partial^2 \psi_j / \partial s_1 \partial s_2 \)
2698 const double s3 = 1.0 -
s[0] -
s[1] -
s[2];
2706 const double d2_quartic_bubble_ds0 = -2.0 *
s[1] *
s[2];
2707 const double d2_quartic_bubble_ds1 = -2.0 *
s[0] *
s[2];
2708 const double d2_quartic_bubble_ds2 = -2.0 *
s[0] *
s[1];
2709 const double d2_quartic_bubble_ds3 =
2710 s[2] * (1.0 - 2.0 *
s[0] - 2.0 *
s[1] -
s[2]);
2711 const double d2_quartic_bubble_ds4 =
2712 s[1] * (1.0 - 2.0 *
s[0] - 2.0 *
s[2] -
s[1]);
2713 const double d2_quartic_bubble_ds5 =
2714 s[0] * (1.0 - 2.0 *
s[1] - 2.0 *
s[2] -
s[0]);
2716 const double d2_cubic_bubble012_ds0 = 0.0;
2717 const double d2_cubic_bubble012_ds1 = 0.0;
2718 const double d2_cubic_bubble012_ds2 = 0.0;
2719 const double d2_cubic_bubble012_ds3 =
s[2];
2720 const double d2_cubic_bubble012_ds4 =
s[1];
2721 const double d2_cubic_bubble012_ds5 =
s[0];
2723 const double d2_cubic_bubble013_ds0 = -2.0 *
s[1];
2724 const double d2_cubic_bubble013_ds1 = -2.0 *
s[0];
2725 const double d2_cubic_bubble013_ds2 = 0.0;
2726 const double d2_cubic_bubble013_ds3 = s3 -
s[0] -
s[1];
2727 const double d2_cubic_bubble013_ds4 = -
s[1];
2728 const double d2_cubic_bubble013_ds5 = -
s[0];
2730 const double d2_cubic_bubble023_ds0 = -2.0 *
s[2];
2731 const double d2_cubic_bubble023_ds1 = 0.0;
2732 const double d2_cubic_bubble023_ds2 = -2.0 *
s[0];
2733 const double d2_cubic_bubble023_ds3 = -
s[2];
2734 const double d2_cubic_bubble023_ds4 = s3 -
s[0] -
s[2];
2735 const double d2_cubic_bubble023_ds5 = -
s[0];
2737 const double d2_cubic_bubble123_ds0 = 0.0;
2738 const double d2_cubic_bubble123_ds1 = -2.0 *
s[2];
2739 const double d2_cubic_bubble123_ds2 = -2.0 *
s[1];
2740 const double d2_cubic_bubble123_ds3 = -
s[2];
2741 const double d2_cubic_bubble123_ds4 = -
s[1];
2742 const double d2_cubic_bubble123_ds5 = s3 -
s[1] -
s[2];
2745 d2psids(0, 0) = 4.0 +
2746 3.0 * (d2_cubic_bubble012_ds0 + d2_cubic_bubble013_ds0 +
2747 d2_cubic_bubble023_ds0) -
2748 4.0 * d2_quartic_bubble_ds0;
2749 d2psids(0, 1) = 0.0 +
2750 3.0 * (d2_cubic_bubble012_ds1 + d2_cubic_bubble013_ds1 +
2751 d2_cubic_bubble023_ds1) -
2752 4.0 * d2_quartic_bubble_ds1;
2753 d2psids(0, 2) = 0.0 +
2754 3.0 * (d2_cubic_bubble012_ds2 + d2_cubic_bubble013_ds2 +
2755 d2_cubic_bubble023_ds2) -
2756 4.0 * d2_quartic_bubble_ds2;
2757 d2psids(0, 3) = 0.0 +
2758 3.0 * (d2_cubic_bubble012_ds3 + d2_cubic_bubble013_ds3 +
2759 d2_cubic_bubble023_ds3) -
2760 4.0 * d2_quartic_bubble_ds3;
2761 d2psids(0, 4) = 0.0 +
2762 3.0 * (d2_cubic_bubble012_ds4 + d2_cubic_bubble013_ds4 +
2763 d2_cubic_bubble023_ds4) -
2764 4.0 * d2_quartic_bubble_ds4;
2765 d2psids(0, 5) = 0.0 +
2766 3.0 * (d2_cubic_bubble012_ds5 + d2_cubic_bubble013_ds5 +
2767 d2_cubic_bubble023_ds5) -
2768 4.0 * d2_quartic_bubble_ds5;
2771 d2psids(1, 0) = 0.0 +
2772 3.0 * (d2_cubic_bubble012_ds0 + d2_cubic_bubble013_ds0 +
2773 d2_cubic_bubble123_ds0) -
2774 4.0 * d2_quartic_bubble_ds0;
2775 d2psids(1, 1) = 4.0 +
2776 3.0 * (d2_cubic_bubble012_ds1 + d2_cubic_bubble013_ds1 +
2777 d2_cubic_bubble123_ds1) -
2778 4.0 * d2_quartic_bubble_ds1;
2779 d2psids(1, 2) = 0.0 +
2780 3.0 * (d2_cubic_bubble012_ds2 + d2_cubic_bubble013_ds2 +
2781 d2_cubic_bubble123_ds2) -
2782 4.0 * d2_quartic_bubble_ds2;
2783 d2psids(1, 3) = 0.0 +
2784 3.0 * (d2_cubic_bubble012_ds3 + d2_cubic_bubble013_ds3 +
2785 d2_cubic_bubble123_ds3) -
2786 4.0 * d2_quartic_bubble_ds3;
2787 d2psids(1, 4) = 0.0 +
2788 3.0 * (d2_cubic_bubble012_ds4 + d2_cubic_bubble013_ds4 +
2789 d2_cubic_bubble123_ds4) -
2790 4.0 * d2_quartic_bubble_ds4;
2791 d2psids(1, 5) = 0.0 +
2792 3.0 * (d2_cubic_bubble012_ds5 + d2_cubic_bubble013_ds5 +
2793 d2_cubic_bubble123_ds5) -
2794 4.0 * d2_quartic_bubble_ds5;
2797 d2psids(2, 0) = 0.0 +
2798 3.0 * (d2_cubic_bubble012_ds0 + d2_cubic_bubble023_ds0 +
2799 d2_cubic_bubble123_ds0) -
2800 4.0 * d2_quartic_bubble_ds0;
2801 d2psids(2, 1) = 0.0 +
2802 3.0 * (d2_cubic_bubble012_ds1 + d2_cubic_bubble023_ds1 +
2803 d2_cubic_bubble123_ds1) -
2804 4.0 * d2_quartic_bubble_ds1;
2805 d2psids(2, 2) = 4.0 +
2806 3.0 * (d2_cubic_bubble012_ds2 + d2_cubic_bubble023_ds2 +
2807 d2_cubic_bubble123_ds2) -
2808 4.0 * d2_quartic_bubble_ds2;
2809 d2psids(2, 3) = 0.0 +
2810 3.0 * (d2_cubic_bubble012_ds3 + d2_cubic_bubble023_ds3 +
2811 d2_cubic_bubble123_ds3) -
2812 4.0 * d2_quartic_bubble_ds3;
2813 d2psids(2, 4) = 0.0 +
2814 3.0 * (d2_cubic_bubble012_ds4 + d2_cubic_bubble023_ds4 +
2815 d2_cubic_bubble123_ds4) -
2816 4.0 * d2_quartic_bubble_ds4;
2817 d2psids(2, 5) = 0.0 +
2818 3.0 * (d2_cubic_bubble012_ds5 + d2_cubic_bubble023_ds5 +
2819 d2_cubic_bubble123_ds5) -
2820 4.0 * d2_quartic_bubble_ds5;
2823 d2psids(3, 0) = 4.0 +
2824 3.0 * (d2_cubic_bubble013_ds0 + d2_cubic_bubble023_ds0 +
2825 d2_cubic_bubble123_ds0) -
2826 4.0 * d2_quartic_bubble_ds0;
2827 d2psids(3, 1) = 4.0 +
2828 3.0 * (d2_cubic_bubble013_ds1 + d2_cubic_bubble023_ds1 +
2829 d2_cubic_bubble123_ds1) -
2830 4.0 * d2_quartic_bubble_ds1;
2831 d2psids(3, 2) = 4.0 +
2832 3.0 * (d2_cubic_bubble013_ds2 + d2_cubic_bubble023_ds2 +
2833 d2_cubic_bubble123_ds2) -
2834 4.0 * d2_quartic_bubble_ds2;
2835 d2psids(3, 3) = 4.0 +
2836 3.0 * (d2_cubic_bubble013_ds3 + d2_cubic_bubble023_ds3 +
2837 d2_cubic_bubble123_ds3) -
2838 4.0 * d2_quartic_bubble_ds3;
2839 d2psids(3, 4) = 4.0 +
2840 3.0 * (d2_cubic_bubble013_ds4 + d2_cubic_bubble023_ds4 +
2841 d2_cubic_bubble123_ds4) -
2842 4.0 * d2_quartic_bubble_ds4;
2843 d2psids(3, 5) = 4.0 +
2844 3.0 * (d2_cubic_bubble013_ds5 + d2_cubic_bubble023_ds5 +
2845 d2_cubic_bubble123_ds5) -
2846 4.0 * d2_quartic_bubble_ds5;
2849 d2psids(4, 0) = 0.0 -
2850 12.0 * (d2_cubic_bubble012_ds0 + d2_cubic_bubble013_ds0) +
2851 32.0 * d2_quartic_bubble_ds0;
2852 d2psids(4, 1) = 0.0 -
2853 12.0 * (d2_cubic_bubble012_ds1 + d2_cubic_bubble013_ds1) +
2854 32.0 * d2_quartic_bubble_ds1;
2855 d2psids(4, 2) = 0.0 -
2856 12.0 * (d2_cubic_bubble012_ds2 + d2_cubic_bubble013_ds2) +
2857 32.0 * d2_quartic_bubble_ds2;
2858 d2psids(4, 3) = 4.0 -
2859 12.0 * (d2_cubic_bubble012_ds3 + d2_cubic_bubble013_ds3) +
2860 32.0 * d2_quartic_bubble_ds3;
2861 d2psids(4, 4) = 0.0 -
2862 12.0 * (d2_cubic_bubble012_ds4 + d2_cubic_bubble013_ds4) +
2863 32.0 * d2_quartic_bubble_ds4;
2864 d2psids(4, 5) = 0.0 -
2865 12.0 * (d2_cubic_bubble012_ds5 + d2_cubic_bubble013_ds5) +
2866 32.0 * d2_quartic_bubble_ds5;
2869 d2psids(5, 0) = 0.0 -
2870 12.0 * (d2_cubic_bubble012_ds0 + d2_cubic_bubble023_ds0) +
2871 32.0 * d2_quartic_bubble_ds0;
2872 d2psids(5, 1) = 0.0 -
2873 12.0 * (d2_cubic_bubble012_ds1 + d2_cubic_bubble023_ds1) +
2874 32.0 * d2_quartic_bubble_ds1;
2875 d2psids(5, 2) = 0.0 -
2876 12.0 * (d2_cubic_bubble012_ds2 + d2_cubic_bubble023_ds2) +
2877 32.0 * d2_quartic_bubble_ds2;
2878 d2psids(5, 3) = 0.0 -
2879 12.0 * (d2_cubic_bubble012_ds3 + d2_cubic_bubble023_ds3) +
2880 32.0 * d2_quartic_bubble_ds3;
2881 d2psids(5, 4) = 4.0 -
2882 12.0 * (d2_cubic_bubble012_ds4 + d2_cubic_bubble023_ds4) +
2883 32.0 * d2_quartic_bubble_ds4;
2884 d2psids(5, 5) = 0.0 -
2885 12.0 * (d2_cubic_bubble012_ds5 + d2_cubic_bubble023_ds5) +
2886 32.0 * d2_quartic_bubble_ds5;
2889 d2psids(6, 0) = -8.0 -
2890 12.0 * (d2_cubic_bubble013_ds0 + d2_cubic_bubble023_ds0) +
2891 32.0 * d2_quartic_bubble_ds0;
2892 d2psids(6, 1) = 0.0 -
2893 12.0 * (d2_cubic_bubble013_ds1 + d2_cubic_bubble023_ds1) +
2894 32.0 * d2_quartic_bubble_ds1;
2895 d2psids(6, 2) = 0.0 -
2896 12.0 * (d2_cubic_bubble013_ds2 + d2_cubic_bubble023_ds2) +
2897 32.0 * d2_quartic_bubble_ds2;
2898 d2psids(6, 3) = -4.0 -
2899 12.0 * (d2_cubic_bubble013_ds3 + d2_cubic_bubble023_ds3) +
2900 32.0 * d2_quartic_bubble_ds3;
2901 d2psids(6, 4) = -4.0 -
2902 12.0 * (d2_cubic_bubble013_ds4 + d2_cubic_bubble023_ds4) +
2903 32.0 * d2_quartic_bubble_ds4;
2904 d2psids(6, 5) = 0.0 -
2905 12.0 * (d2_cubic_bubble013_ds5 + d2_cubic_bubble023_ds5) +
2906 32.0 * d2_quartic_bubble_ds5;
2908 d2psids(7, 0) = 0.0 -
2909 12.0 * (d2_cubic_bubble012_ds0 + d2_cubic_bubble123_ds0) +
2910 32.0 * d2_quartic_bubble_ds0;
2911 d2psids(7, 1) = 0.0 -
2912 12.0 * (d2_cubic_bubble012_ds1 + d2_cubic_bubble123_ds1) +
2913 32.0 * d2_quartic_bubble_ds1;
2914 d2psids(7, 2) = 0.0 -
2915 12.0 * (d2_cubic_bubble012_ds2 + d2_cubic_bubble123_ds2) +
2916 32.0 * d2_quartic_bubble_ds2;
2917 d2psids(7, 3) = 0.0 -
2918 12.0 * (d2_cubic_bubble012_ds3 + d2_cubic_bubble123_ds3) +
2919 32.0 * d2_quartic_bubble_ds3;
2920 d2psids(7, 4) = 0.0 -
2921 12.0 * (d2_cubic_bubble012_ds4 + d2_cubic_bubble123_ds4) +
2922 32.0 * d2_quartic_bubble_ds4;
2923 d2psids(7, 5) = 4.0 -
2924 12.0 * (d2_cubic_bubble012_ds5 + d2_cubic_bubble123_ds5) +
2925 32.0 * d2_quartic_bubble_ds5;
2927 d2psids(8, 0) = 0.0 -
2928 12.0 * (d2_cubic_bubble023_ds0 + d2_cubic_bubble123_ds0) +
2929 32.0 * d2_quartic_bubble_ds0;
2930 d2psids(8, 1) = 0.0 -
2931 12.0 * (d2_cubic_bubble023_ds1 + d2_cubic_bubble123_ds1) +
2932 32.0 * d2_quartic_bubble_ds1;
2933 d2psids(8, 2) = -8.0 -
2934 12.0 * (d2_cubic_bubble023_ds2 + d2_cubic_bubble123_ds2) +
2935 32.0 * d2_quartic_bubble_ds2;
2936 d2psids(8, 3) = 0.0 -
2937 12.0 * (d2_cubic_bubble023_ds3 + d2_cubic_bubble123_ds3) +
2938 32.0 * d2_quartic_bubble_ds3;
2939 d2psids(8, 4) = -4.0 -
2940 12.0 * (d2_cubic_bubble023_ds4 + d2_cubic_bubble123_ds4) +
2941 32.0 * d2_quartic_bubble_ds4;
2942 d2psids(8, 5) = -4.0 -
2943 12.0 * (d2_cubic_bubble023_ds5 + d2_cubic_bubble123_ds5) +
2944 32.0 * d2_quartic_bubble_ds5;
2946 d2psids(9, 0) = 0.0 -
2947 12.0 * (d2_cubic_bubble013_ds0 + d2_cubic_bubble123_ds0) +
2948 32.0 * d2_quartic_bubble_ds0;
2949 d2psids(9, 1) = -8.0 -
2950 12.0 * (d2_cubic_bubble013_ds1 + d2_cubic_bubble123_ds1) +
2951 32.0 * d2_quartic_bubble_ds1;
2952 d2psids(9, 2) = 0.0 -
2953 12.0 * (d2_cubic_bubble013_ds2 + d2_cubic_bubble123_ds2) +
2954 32.0 * d2_quartic_bubble_ds3;
2955 d2psids(9, 3) = -4.0 -
2956 12.0 * (d2_cubic_bubble013_ds3 + d2_cubic_bubble123_ds3) +
2957 32.0 * d2_quartic_bubble_ds3;
2958 d2psids(9, 4) = 0.0 -
2959 12.0 * (d2_cubic_bubble013_ds4 + d2_cubic_bubble123_ds4) +
2960 32.0 * d2_quartic_bubble_ds4;
2961 d2psids(9, 5) = -4.0 -
2962 12.0 * (d2_cubic_bubble013_ds5 + d2_cubic_bubble123_ds5) +
2963 32.0 * d2_quartic_bubble_ds5;
2967 27.0 * d2_cubic_bubble013_ds0 - 108.0 * d2_quartic_bubble_ds0;
2969 27.0 * d2_cubic_bubble013_ds1 - 108.0 * d2_quartic_bubble_ds1;
2971 27.0 * d2_cubic_bubble013_ds2 - 108.0 * d2_quartic_bubble_ds2;
2973 27.0 * d2_cubic_bubble013_ds3 - 108.0 * d2_quartic_bubble_ds3;
2975 27.0 * d2_cubic_bubble013_ds4 - 108.0 * d2_quartic_bubble_ds4;
2977 27.0 * d2_cubic_bubble013_ds5 - 108.0 * d2_quartic_bubble_ds5;
2981 27.0 * d2_cubic_bubble012_ds0 - 108.0 * d2_quartic_bubble_ds0;
2983 27.0 * d2_cubic_bubble012_ds1 - 108.0 * d2_quartic_bubble_ds1;
2985 27.0 * d2_cubic_bubble012_ds2 - 108.0 * d2_quartic_bubble_ds2;
2987 27.0 * d2_cubic_bubble012_ds3 - 108.0 * d2_quartic_bubble_ds3;
2989 27.0 * d2_cubic_bubble012_ds4 - 108.0 * d2_quartic_bubble_ds4;
2991 27.0 * d2_cubic_bubble012_ds5 - 108.0 * d2_quartic_bubble_ds5;
2995 27.0 * d2_cubic_bubble023_ds0 - 108.0 * d2_quartic_bubble_ds0;
2997 27.0 * d2_cubic_bubble023_ds1 - 108.0 * d2_quartic_bubble_ds1;
2999 27.0 * d2_cubic_bubble023_ds2 - 108.0 * d2_quartic_bubble_ds2;
3001 27.0 * d2_cubic_bubble023_ds3 - 108.0 * d2_quartic_bubble_ds3;
3003 27.0 * d2_cubic_bubble023_ds4 - 108.0 * d2_quartic_bubble_ds4;
3005 27.0 * d2_cubic_bubble023_ds5 - 108.0 * d2_quartic_bubble_ds5;
3009 27.0 * d2_cubic_bubble123_ds0 - 108.0 * d2_quartic_bubble_ds0;
3011 27.0 * d2_cubic_bubble123_ds1 - 108.0 * d2_quartic_bubble_ds1;
3013 27.0 * d2_cubic_bubble123_ds2 - 108.0 * d2_quartic_bubble_ds2;
3015 27.0 * d2_cubic_bubble123_ds3 - 108.0 * d2_quartic_bubble_ds3;
3017 27.0 * d2_cubic_bubble123_ds4 - 108.0 * d2_quartic_bubble_ds4;
3019 27.0 * d2_cubic_bubble123_ds5 - 108.0 * d2_quartic_bubble_ds5;
3022 d2psids(14, 0) = 256.0 * d2_quartic_bubble_ds0;
3023 d2psids(14, 1) = 256.0 * d2_quartic_bubble_ds1;
3024 d2psids(14, 2) = 256.0 * d2_quartic_bubble_ds2;
3025 d2psids(14, 3) = 256.0 * d2_quartic_bubble_ds3;
3026 d2psids(14, 4) = 256.0 * d2_quartic_bubble_ds4;
3027 d2psids(14, 5) = 256.0 * d2_quartic_bubble_ds5;
void dshape_local(const Vector< double > &s, Shape &psi, DShape &dpsids) const
Derivatives of shape functions for specific TElement<3,3>
Definition: Telements.h:2494
RealScalar s
Definition: level1_cplx_impl.h:130